mirror of
https://github.com/ansible/awx.git
synced 2026-03-17 00:47:29 -02:30
put lock file in project root dir
This commit is contained in:
@@ -210,9 +210,9 @@ class ProjectOptions(models.Model):
|
||||
|
||||
def get_lock_file(self):
|
||||
proj_path = self.get_project_path()
|
||||
if proj_path:
|
||||
return os.path.join(proj_path, 'tower_sync.lock')
|
||||
return None
|
||||
if not proj_path:
|
||||
return None
|
||||
return proj_path + '.lock'
|
||||
|
||||
|
||||
class Project(UnifiedJobTemplate, ProjectOptions, ResourceMixin):
|
||||
|
||||
Reference in New Issue
Block a user