Fixes AC-402. Fix issues arising from unit tests.

This commit is contained in:
Chris Church
2013-09-05 07:57:44 -04:00
parent 567aef5d1e
commit 2e03a646a5
7 changed files with 32 additions and 34 deletions

View File

@@ -692,7 +692,8 @@ class Project(CommonModel):
@property
def can_update(self):
return bool(self.scm_type and not self.current_update)
# FIXME: Prevent update when another one is active!
return bool(self.scm_type)# and not self.current_update)
def update(self, **kwargs):
if self.can_update: