diff options
author | James Bowes <jbowes@redhat.com> | 2007-09-28 21:09:49 -0400 |
---|---|---|
committer | James Bowes <jbowes@redhat.com> | 2007-09-28 21:18:47 -0400 |
commit | 99069f42f71f00cd0b44b59e6627657409569b6b (patch) | |
tree | 0f1bb914474a219e5ecfb3d13f909ce4279de3cc /func/utils.py | |
parent | b67d47a3c496ea26a1c91e6f0247085cc24346c6 (diff) | |
download | third_party-func-99069f42f71f00cd0b44b59e6627657409569b6b.tar.gz third_party-func-99069f42f71f00cd0b44b59e6627657409569b6b.tar.xz third_party-func-99069f42f71f00cd0b44b59e6627657409569b6b.zip |
Fix bad indentation in certs and func dirs
Diffstat (limited to 'func/utils.py')
-rwxr-xr-x | func/utils.py | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/func/utils.py b/func/utils.py index 724c847..8d9d383 100755 --- a/func/utils.py +++ b/func/utils.py @@ -21,9 +21,9 @@ import traceback # but we really need to fix out server side logging and error # reporting so we don't need it def trace_me(): - x = traceback.extract_stack() - bar = string.join(traceback.format_list(x)) - return bar + x = traceback.extract_stack() + bar = string.join(traceback.format_list(x)) + return bar def daemonize(pidfile=None): @@ -35,13 +35,13 @@ def daemonize(pidfile=None): print pidfile pid = os.fork() if pid > 0: - sys.exit(0) + sys.exit(0) os.setsid() os.umask(0) pid = os.fork() if pid > 0: - if pidfile is not None: - open(pidfile, "w").write(str(pid)) - sys.exit(0) + if pidfile is not None: + open(pidfile, "w").write(str(pid)) + sys.exit(0) |