apply the correct indentation level. doh.
Stephen Soltesz [Thu, 12 Feb 2009 21:15:19 +0000 (21:15 +0000)]
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