Fix formatting
Signed-off-by: Haibo Lin <hlin@redhat.com>
This commit is contained in:
parent
1bb038ca72
commit
795bbe31e3
@ -35,7 +35,7 @@ from pungi.wrappers.createrepo import CreaterepoWrapper
|
||||
|
||||
|
||||
class ReentrantYumLock(object):
|
||||
""" A lock that can be acquired multiple times by the same process. """
|
||||
"""A lock that can be acquired multiple times by the same process."""
|
||||
|
||||
def __init__(self, lock, log):
|
||||
self.lock = lock
|
||||
@ -60,7 +60,7 @@ class ReentrantYumLock(object):
|
||||
|
||||
|
||||
def yumlocked(method):
|
||||
""" A locking decorator. """
|
||||
"""A locking decorator."""
|
||||
|
||||
def wrapper(self, *args, **kwargs):
|
||||
with self.yumlock:
|
||||
|
Loading…
Reference in New Issue
Block a user