diff options
author | Arfrever <arfrever@gentoo.org> | 2011-12-30 12:23:04 -0500 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2011-12-30 12:23:16 -0500 |
commit | f345724471322f989701e25bb0462a8b5f458dd2 (patch) | |
tree | a5d51df1e3a1eb90fa183869040a62ea5d608c77 /WebappConfig/dotconfig.py | |
parent | Delete some unused variables and imports. (diff) | |
download | webapp-config-f345724471322f989701e25bb0462a8b5f458dd2.tar.gz webapp-config-f345724471322f989701e25bb0462a8b5f458dd2.tar.bz2 webapp-config-f345724471322f989701e25bb0462a8b5f458dd2.zip |
Update syntax of octal numbers for compatibility with Python 3.
Reported-By: Arfrever <arfrever@gentoo.org>
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'WebappConfig/dotconfig.py')
-rw-r--r-- | WebappConfig/dotconfig.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/WebappConfig/dotconfig.py b/WebappConfig/dotconfig.py index be01126..c9a5ba1 100644 --- a/WebappConfig/dotconfig.py +++ b/WebappConfig/dotconfig.py @@ -255,7 +255,7 @@ class DotConfig: fd = os.open(self.__dot_config(), os.O_WRONLY | os.O_CREAT, - self.__perm(0600)) + self.__perm(0o600)) os.write(fd, '\n'.join(info)) os.close(fd) |