commit:     1b84dd4870f4db0c836006b891f4bb0c3170777c
Author:     Devan Franchini <twitch153 <AT> gentoo <DOT> org>
AuthorDate: Wed May 14 01:13:31 2014 +0000
Commit:     Devan Franchini <twitch153 <AT> gentoo <DOT> org>
CommitDate: Wed May 14 23:45:56 2014 +0000
URL:        
http://git.overlays.gentoo.org/gitweb/?p=proj/layman.git;a=commit;h=1b84dd48

overlays/tar.py: Changes permissions integer to octal

---
 layman/overlays/tar.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/layman/overlays/tar.py b/layman/overlays/tar.py
index e57096d..9cb65a2 100644
--- a/layman/overlays/tar.py
+++ b/layman/overlays/tar.py
@@ -169,7 +169,7 @@ class TarOverlay(OverlaySource):
                     raise Exception('Failed to rename tar subdirectory ' +
                                     source + ' to ' + final_path +
                                     '\nError was:' + str(error))
-                os.chmod(final_path, 0755)
+                os.chmod(final_path, 0o755)
             else:
                 raise Exception('Given subpath "' + source + '" does not exist 
'
                                 ' in the tar package!')

Reply via email to