aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-09-20 11:47:45 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-09-20 11:47:45 +0000
commit199228d412c83e00f0c4af7ba34f166a891b4e87 (patch)
tree8aba71db4ea0e3b6539eccaf1dc0fd9e3920fca1 /bin/emaint
parentSupport print() function with Python 2 in some files. (diff)
downloadportage-199228d412c83e00f0c4af7ba34f166a891b4e87.tar.gz
portage-199228d412c83e00f0c4af7ba34f166a891b4e87.tar.bz2
portage-199228d412c83e00f0c4af7ba34f166a891b4e87.zip
Update syntax of numbers for compatibility with Python 3.
(2to3-3.1 -f numliterals -nw ${FILES}) svn path=/main/trunk/; revision=14292
Diffstat (limited to 'bin/emaint')
-rwxr-xr-xbin/emaint2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/emaint b/bin/emaint
index 56a6617b0..52ed1f53b 100755
--- a/bin/emaint
+++ b/bin/emaint
@@ -464,7 +464,7 @@ def emaint_main(myargv):
# Similar to emerge, emaint needs a default umask so that created
# files (such as the world file) have sane permissions.
- os.umask(022)
+ os.umask(0o22)
# TODO: Create a system that allows external modules to be added without
# the need for hard coding.