Private GIT

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

attempt at making hist.log file

parent 5f78c2cb
No related branches found
No related tags found
No related merge requests found
...@@ -399,7 +399,11 @@ class GitUpdateManager(UpdateManager): ...@@ -399,7 +399,11 @@ class GitUpdateManager(UpdateManager):
logger.log(u"Didn't find indication of success in output, assuming git pull succeeded", logger.DEBUG) logger.log(u"Didn't find indication of success in output, assuming git pull succeeded", logger.DEBUG)
logger.log(u"Output: "+str(output)) logger.log(u"Output: "+str(output))
return True return True
log=self._run_git('log --pretty="%h - %s" --no-merges -100')
fp = open (os.path.join(sickbeard.DATA_DIR, "hist.log"), 'wb')
fp.write (log)
fp.close ()
os.chmod(os.path.join(sickbeard.DATA_DIR, "hist.log"), 0777)
return True return True
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment