We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 74876d6 commit 562875eCopy full SHA for 562875e
lib/adapter/git_adapter.py
@@ -134,7 +134,7 @@ def save_state(cls, state):
134
"""
135
local_repository_dir = cls.local_repository_location()
136
state_filename = os.path.join(local_repository_dir, '.cached_revision')
137
- open(state_filename, 'w').write(state)
+ open(state_filename, 'wb').write(state)
138
139
@classmethod
140
def get_state(cls):
lib/fetch.py
@@ -136,6 +136,7 @@ def _update_adapter(adptr):
updates = []
if cmd:
errorcode, output = _run_cmd(cmd)
+ output = output.decode("utf-8")
if errorcode:
141
_log("\nERROR:\n---\n" + output + "\n---\nCould not get list of pages to be updated: %s" % adptr)
142
return False
0 commit comments