]> git.phdru.name Git - xsetbg.git/blobdiff - xsetbg_conf.py
Feat: Python 3
[xsetbg.git] / xsetbg_conf.py
index 368667c9b02e9362dc2d66f9a5e934da1080dca1..b1b6656b32d2a788a874bfe79a46eb5bf4b86765 100755 (executable)
@@ -1,17 +1,13 @@
-#! /usr/bin/env python
+#! /usr/bin/env python3
 """XSetBg config
 
 """
 
-__author__ = "Oleg Broytman <phd@phdru.name>"
-__copyright__ = "Copyright (C) 2014 PhiloSoft Design"
-__license__ = "GNU GPL"
-
-__all__ = ['xsetbg_conf']
-
 import os
 from ConfigParser import SafeConfigParser
 
+__all__ = ['xsetbg_conf']
+
 config_dirs = []
 if 'XDG_CONFIG_HOME' in os.environ:
     config_dirs.append(os.environ['XDG_CONFIG_HOME'])
@@ -34,5 +30,5 @@ else:
     raise RuntimeError("Cannot find xsetbg.conf; searched %s", config_dirs)
 
 if __name__ == '__main__':
-    print "Config dirs:", config_dirs
-    print "Config file:", xsetbg_conf_file
+    print("Config dirs:", config_dirs)
+    print("Config file:", xsetbg_conf_file)