git://git.onelab.eu
/
monitor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
apply the correct indentation level. doh.
[monitor.git]
/
web
/
MonitorWeb
/
monitorweb
/
commands.py
diff --git
a/web/MonitorWeb/monitorweb/commands.py
b/web/MonitorWeb/monitorweb/commands.py
index
68df39c
..
61b7c29
100644
(file)
--- a/
web/MonitorWeb/monitorweb/commands.py
+++ b/
web/MonitorWeb/monitorweb/commands.py
@@
-45,10
+45,10
@@
def start():
except pkg_resources.DistributionNotFound:
\r
raise ConfigurationError("Could not find default configuration.")
\r
\r
except pkg_resources.DistributionNotFound:
\r
raise ConfigurationError("Could not find default configuration.")
\r
\r
-
if "prod" in configfile:
\r
-
f = open("/var/run/monitorweb.pid", 'w')
\r
-
f.write(str(getpid()))
\r
-
f.close()
\r
+ if "prod" in configfile:
\r
+ f = open("/var/run/monitorweb.pid", 'w')
\r
+ f.write(str(getpid()))
\r
+ f.close()
\r
\r
turbogears.update_config(configfile=configfile,
\r
modulename="monitorweb.config")
\r
\r
turbogears.update_config(configfile=configfile,
\r
modulename="monitorweb.config")
\r