Permalink
Browse files

The lock file is db/lockfile

  • Loading branch information...
1 parent 03bcabf commit e63da806a14eb5c43a0fd50f9ebd052cc8071331 @fajran fajran committed Jan 25, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 irgsh_repo/tasks.py
View
@@ -102,7 +102,7 @@ def run(self, spec_id, package, version,
self.send_log(spec_id, repo_log)
def is_repository_locked(self):
- fname = os.path.join(settings.REPO_DIR, 'db', 'lock')
+ fname = os.path.join(settings.REPO_DIR, 'db', 'lockfile')
return os.path.exists(fname)
def wait_for_lock(self):

0 comments on commit e63da80

Please sign in to comment.