From 6cc24e1f7fdddda46e8665c6bb2fbca4b6f6a57f Mon Sep 17 00:00:00 2001 From: "Chris St. Pierre" Date: Thu, 18 Jul 2013 14:50:52 -0400 Subject: bcfg2-yum-helper: added missing docstring --- src/sbin/bcfg2-yum-helper | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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: -- cgit v1.2.3-1-g7c22