apply the correct indentation level. doh.
[monitor.git] / web / MonitorWeb / monitorweb / commands.py
index 68df39c..61b7c29 100644 (file)
@@ -45,10 +45,10 @@ def start():
         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