summaryrefslogtreecommitdiff
path: root/daemon.py
diff options
context:
space:
mode:
authorEmile Anclin <emile.anclin@logilab.fr>2010-11-15 12:11:37 +0100
committerEmile Anclin <emile.anclin@logilab.fr>2010-11-15 12:11:37 +0100
commit135b4141389138d95ad2c1a83a6a706f9758ceb6 (patch)
tree130bce997d5d6562db51f940f186f427b1779ee6 /daemon.py
parent2575a944af5839cf1bbafbdfe7f7f55478020014 (diff)
downloadlogilab-common-135b4141389138d95ad2c1a83a6a706f9758ceb6.tar.gz
2to3 has some more usable fixers
Diffstat (limited to 'daemon.py')
-rw-r--r--daemon.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon.py b/daemon.py
index bce770f..78847d1 100644
--- a/daemon.py
+++ b/daemon.py
@@ -111,7 +111,7 @@ If it i not the case, remove the file %s''' % (self.name, self._pid_file))
if self.delay < 0:
self.delay = -self.delay
time.sleep(self.delay)
- while 1:
+ while True:
try:
self._run()
except Exception, ex: