]> git.phdru.name Git - xsetbg.git/blobdiff - xsetbg_db.py
Style: Fix `flake8` error E999 SyntaxError: leading zeros in decimal integer
[xsetbg.git] / xsetbg_db.py
index dfa65fce7f307daaaac90c88daadb1143be63674..0ad9d048625dce5f00eea0ab0b2f67d56f5cc6b3 100755 (executable)
@@ -11,7 +11,7 @@ from xsetbg_conf import xsetbg_conf
 __all__ = ['xsetbg_db_path', 'xsetbg_db']
 
 # octal; -rw-------; make the database file(s) readable only by the user
-os.umask(0066)
+os.umask(0o066)
 
 
 class XSetBg(SQLObject):
@@ -88,5 +88,5 @@ else:
     xsetbg_db = None
 
 if __name__ == '__main__':
-    print "DB dirs:", db_dirs
-    print "DB file:", xsetbg_db_path
+    print("DB dirs:", db_dirs)
+    print("DB file:", xsetbg_db_path)