diff options
author | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2013-07-18 14:50:52 -0400 |
---|---|---|
committer | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2013-07-18 14:50:52 -0400 |
commit | 6cc24e1f7fdddda46e8665c6bb2fbca4b6f6a57f (patch) | |
tree | a03bfaef761bc7a5c7166c70e254673cf3f66c87 | |
parent | 827d0a83b8c9148598c23cb550862c0cf50b5a23 (diff) | |
download | bcfg2-6cc24e1f7fdddda46e8665c6bb2fbca4b6f6a57f.tar.gz bcfg2-6cc24e1f7fdddda46e8665c6bb2fbca4b6f6a57f.tar.bz2 bcfg2-6cc24e1f7fdddda46e8665c6bb2fbca4b6f6a57f.zip |
bcfg2-yum-helper: added missing docstring
-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: |