Updater config

This commit is contained in:
Ruud committed 2011-08-20 21:21:44 +02:00
1 parent 298888bb48
commit ca4ec4311b
2 files changed
+4 -5

No files matched your search

+1 -2
View File
@@ -53,7 +53,7 @@ class Updater(Plugin):
local = self.repo.getHead()
remote = branch.getHead()
if local.getDate() < remote.getDate():
if local.getDate() < remote.getDate():
if self.conf('automatic') and not self.updateFailed:
self.doUpdate()
else:
@@ -76,4 +76,3 @@ class Updater(Plugin):
def isEnabled(self):
return Plugin.isEnabled(self) and Env.get('uses_git')