diff options
author | Zac Medico <zmedico@gentoo.org> | 2012-09-11 23:38:52 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2012-09-11 23:38:52 -0700 |
commit | 8833d51e37ae152cda3349edf919a2d63b0171f9 (patch) | |
tree | 06409b87200f72bfd1ce59ec33ab3123f452436b | |
parent | d52a8a54012d0cfb5b2cd4128b9cda58eeddef33 (diff) | |
download | portage-8833d51e37ae152cda3349edf919a2d63b0171f9.tar.gz portage-8833d51e37ae152cda3349edf919a2d63b0171f9.tar.bz2 portage-8833d51e37ae152cda3349edf919a2d63b0171f9.zip |
chflags: fixed octal flags format breakage
This broke in commit 09de8dc47ec48af2276dfa098dd5e1d3d09ddbdd.
-rw-r--r-- | pym/portage/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py index 97352b273..8d5793c03 100644 --- a/pym/portage/__init__.py +++ b/pym/portage/__init__.py @@ -347,7 +347,7 @@ if platform.system() in ('FreeBSD',): @classmethod def chflags(cls, path, flags, opts=""): - cmd = ['chflags', opts, flags, path] + cmd = ['chflags', opts, '%o' % (flags,), path] encoding = _encodings['fs'] if sys.hexversion < 0x3000000 or sys.hexversion >= 0x3020000: # Python 3.1 does not support bytes in Popen args. |