summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorolly <olly@ollycope.com>2013-12-09 11:48:01 +0100
committerolly <olly@ollycope.com>2013-12-09 11:48:01 +0100
commitf0969f35b10edb73bbbc76c6ca9e109c68bce3bb (patch)
treebcd4a65f2cf9747b6dc5c378d1bfb0cf3cf860d0
parent9967304d987f256dd4452c7a9295056e66ee9094 (diff)
downloadyoyo-f0969f35b10edb73bbbc76c6ca9e109c68bce3bb.tar.gz
Use pep3127 octal literals
-rw-r--r--yoyo/scripts/migrate.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yoyo/scripts/migrate.py b/yoyo/scripts/migrate.py
index 74bd7e4..2ad1600 100644
--- a/yoyo/scripts/migrate.py
+++ b/yoyo/scripts/migrate.py
@@ -29,7 +29,7 @@ def readconfig(path):
def saveconfig(config, path):
- os.umask(077)
+ os.umask(0o77)
f = open(path, 'w')
try:
return config.write(f)