Private GIT

Skip to content
Snippets Groups Projects
Commit 31df9294 authored by Sarakha63's avatar Sarakha63
Browse files

still triying

parent ddaec7fd
Branches
Tags
No related merge requests found
......@@ -374,7 +374,8 @@ class GitUpdateManager(UpdateManager):
logger.log(u"Writing commit History", logger.DEBUG)
log, err =self._run_git('log --pretty="%ar %h - %s" --no-merges -200')
fp = open (os.path.join(sickbeard.DATA_DIR, "hist.log"), 'wb')
fp.write (str(log.split('\n')))
for line in log.split('\n'):
fp.write (line)
fp.close ()
os.chmod(os.path.join(sickbeard.DATA_DIR, "hist.log"), 0777)
if not output:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment