diff options
-rwxr-xr-x | src/sbin/bcfg2-yum-helper | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sbin/bcfg2-yum-helper b/src/sbin/bcfg2-yum-helper index 1f22c0ff9..161aa3e50 100755 --- a/src/sbin/bcfg2-yum-helper +++ b/src/sbin/bcfg2-yum-helper @@ -199,6 +199,8 @@ def acquire_lock(func): lock while the method runs """ @wraps(func) def inner(self, *args, **kwargs): + """ Get and release a lock while running the function this + wraps. """ self.logger.debug("Acquiring lock at %s" % self.lockfile) while not self.lock.i_am_locking(): try: |