diff options
author | Fabian Affolter <fabian@bernewireless.net> | 2010-08-13 10:44:43 +0000 |
---|---|---|
committer | Sol Jerome <sol.jerome@gmail.com> | 2010-08-14 21:26:25 -0500 |
commit | 893128d66e6ce51bed788c16cb5aa3578b354142 (patch) | |
tree | ecf3499df5a1273c73f9b4c5098246866b40bb56 /src/lib/Server | |
parent | 85ce3bfb8d05d23a6df1c0a2eec3309e1a1e6de8 (diff) | |
download | bcfg2-893128d66e6ce51bed788c16cb5aa3578b354142.tar.gz bcfg2-893128d66e6ce51bed788c16cb5aa3578b354142.tar.bz2 bcfg2-893128d66e6ce51bed788c16cb5aa3578b354142.zip |
Comments
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6016 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Server')
-rw-r--r-- | src/lib/Server/FileMonitor.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/lib/Server/FileMonitor.py b/src/lib/Server/FileMonitor.py index 6fab0c328..0f09f7751 100644 --- a/src/lib/Server/FileMonitor.py +++ b/src/lib/Server/FileMonitor.py @@ -1,3 +1,5 @@ +"""Bcfg2.Server.FileMonitor provides the support for monitorung files.""" + import logging import os import stat @@ -99,7 +101,7 @@ class FamFam(object): self.debug = False def fileno(self): - """return fam file handle number""" + """Return fam file handle number.""" return self.fm.fileno() def handle_event_set(self, _): @@ -268,7 +270,7 @@ try: self.counter += 1 mode = os.stat(path)[stat.ST_MODE] - # flush queued gamin events + # Flush queued gamin events while self.mon.event_pending(): self.mon.handle_one_event() |