Use proper decode function name. os.fdecode is not a real thing, os.fsdecode is. Change-Id: I20b3b6d15b7d5775e1f6f97190d9acc62ca3a4ca
briancurtin
8 years ago
1 changed file(s) with
1 addition(s)
and
1 deletion(s)
.
Raw diff
Collapse all
Expand all
+1
-1
oslosphinx/__init__.py
less
more
30
30
return None
31
31
else:
32
32
if six.PY3:
33
git_remote = os.fdecode(git_remote)
33
git_remote = os.fsdecode(git_remote)
34
34
parsed = parse.urlparse(git_remote)
35
35
return CGIT_BASE + parsed.path.lstrip('/')
36
36