mirror of
https://github.com/ansible/awx.git
synced 2026-05-14 21:07:39 -02:30
Fixes AC-402. Fix issues arising from unit tests.
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user