Skip to content

Commit

Permalink
flake8-ed
Browse files Browse the repository at this point in the history
  • Loading branch information
tarekziade committed Apr 4, 2012
1 parent 7bae543 commit 3909669
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
3 changes: 2 additions & 1 deletion circus/circusctl.py
Expand Up @@ -167,7 +167,8 @@ def handle_dealer(self, cmd, opts, msg, endpoint, timeout):
try:
if isinstance(msg, list):
for i, command in enumerate(msg):
clm = self._console(client, command['cmd'], opts, command['msg'])
clm = self._console(client, command['cmd'], opts,
command['msg'])
print("%s: %s" % (i, clm))
else:
print(self._console(client, cmd, opts, msg))
Expand Down
5 changes: 2 additions & 3 deletions circus/circusd.py
Expand Up @@ -46,10 +46,9 @@ def closerange(fd_low, fd_high): # NOQA
pass


# http://www.svbug.com/documentation/comp.unix.programmer-FAQ/faq_2.html#SEC16
def daemonize():
"""\
Standard daemonization of a process.
http://www.svbug.com/documentation/comp.unix.programmer-FAQ/faq_2.html#SEC16
"""Standard daemonization of a process.
"""
#if not 'CIRCUS_PID' in os.environ:
if os.fork():
Expand Down

0 comments on commit 3909669

Please sign in to comment.