From eac52c270b8b3b10e461bc46502b64c5f898bd7d Mon Sep 17 00:00:00 2001 From: Sol Jerome Date: Wed, 7 Oct 2009 14:46:08 +0000 Subject: Pylint/PEP 8 Code cleanups Signed-off-by: Sol Jerome git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5477 ce84e21b-d406-0410-9b95-82705330c041 --- src/lib/Server/FileMonitor.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/lib/Server/FileMonitor.py') diff --git a/src/lib/Server/FileMonitor.py b/src/lib/Server/FileMonitor.py index 4d42f4261..9538cf428 100644 --- a/src/lib/Server/FileMonitor.py +++ b/src/lib/Server/FileMonitor.py @@ -90,7 +90,7 @@ class FileMonitor(object): class FamFam(object): '''The fam object is a set of callbacks for file alteration events (FAM support)''' - + def __init__(self): object.__init__(self) self.fm = _fam.open() @@ -168,7 +168,7 @@ class Fam(FileMonitor): The fam object is a set of callbacks for file alteration events (FAM support) ''' - + def __init__(self, debug=False): FileMonitor.__init__(self, debug) self.fm = _fam.open() @@ -198,7 +198,7 @@ class Pseudo(FileMonitor): The fam object is a set of callbacks for file alteration events (static monitor support) ''' - + def __init__(self, debug=False): FileMonitor.__init__(self, debug=False) self.pending_events = [] @@ -228,7 +228,8 @@ class Pseudo(FileMonitor): try: - from gamin import WatchMonitor, GAMCreated, GAMExists, GAMEndExist, GAMChanged, GAMDeleted, GAMMoved + from gamin import WatchMonitor, GAMCreated, GAMExists, GAMEndExist, \ + GAMChanged, GAMDeleted, GAMMoved class GaminEvent(Event): ''' -- cgit v1.2.3-1-g7c22