]> git.phdru.name Git - xsetbg.git/blobdiff - xsetbg-wsgi.py
Style: Fix `flake8` error E111 indentation is not a multiple of 4
[xsetbg.git] / xsetbg-wsgi.py
index c682d4e4f4428fc8f88c2ea70c923299007d90be..f0ec153b72b9634e005e6b6ac3942c48c0c0f443 100755 (executable)
@@ -3,11 +3,6 @@
 
 """
 
-__author__ = "Oleg Broytman <phd@phdru.name>"
-__copyright__ = "Copyright (C) 2000-2012 PhiloSoft Design"
-__license__ = "GNU GPL"
-
-
 from wsgiref import simple_server
 from wsgiref.handlers import SimpleHandler
 from wsgiref.simple_server import WSGIServer, make_server
@@ -18,14 +13,14 @@ from xsetbg import change as _change
 
 # get httpd settings from config
 if xsetbg_conf.has_option("httpd", "host"):
-   host = xsetbg_conf.get("httpd", "host")
+    host = xsetbg_conf.get("httpd", "host")
 else:
-   host = 'localhost'
+    host = 'localhost'
 
 if xsetbg_conf.has_option("httpd", "port"):
-   port = xsetbg_conf.getint("httpd", "port")
+    port = xsetbg_conf.getint("httpd", "port")
 else:
-   error("Config must specify a port to listen. Abort.")
+    error("Config must specify a port to listen. Abort.")
 
 
 commands = {}