diff options
author | Guido Günther <agx@sigxcpu.org> | 2015-02-19 14:18:00 +0100 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2015-02-20 12:59:48 +0100 |
commit | e9d53ae1f4e2c4bed324421ab95382648acf8dc5 (patch) | |
tree | fe5a961652e14a8d4d6d58344fada3a30033b8f9 /gbp/scripts | |
parent | b93a1bb239de44bae26dfe5432e09fdca9498db8 (diff) |
Handle Python3's changed octal literal syntax
Diffstat (limited to 'gbp/scripts')
-rw-r--r-- | gbp/scripts/import_dsc.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gbp/scripts/import_dsc.py b/gbp/scripts/import_dsc.py index 3f10d3f..13dba5e 100644 --- a/gbp/scripts/import_dsc.py +++ b/gbp/scripts/import_dsc.py @@ -143,7 +143,7 @@ def apply_debian_patch(repo, unpack_dir, src, options, tag): raise GbpError if os.path.exists('debian/rules'): - os.chmod('debian/rules', 0755) + os.chmod('debian/rules', 0o755) os.chdir(repo.path) parents = check_parents(repo, |