diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-10-01 13:22:57 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-10-01 13:22:57 +0200 |
commit | 3bab2962eecc24c19366692e52ebca5eb835d117 (patch) | |
tree | aa7e983f81ffe2090fa31869b6670bf18bcc28a0 /debian/patches/0110-remove_stale_files.patch | |
parent | bd6e1a190712d0d857cdc659a5824c5e08ea0f83 (diff) |
Rewrite patches (print syntax)
Diffstat (limited to 'debian/patches/0110-remove_stale_files.patch')
-rw-r--r-- | debian/patches/0110-remove_stale_files.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/debian/patches/0110-remove_stale_files.patch b/debian/patches/0110-remove_stale_files.patch index 0fd1a6a..b3a94d2 100644 --- a/debian/patches/0110-remove_stale_files.patch +++ b/debian/patches/0110-remove_stale_files.patch @@ -18,10 +18,10 @@ Index: trunk/engine/SCons/Script/Main.py + for path in ('.sconsign.dblite', '.sconf_temp'): + try: + if os.path.isfile(path): -+ print 'Removing autogenerated file %s' % path ++ print ('Removing autogenerated file %s' % (path)) + os.remove(path) + if os.path.isdir(path): -+ print 'Removing autogenerated directory %s' % path ++ print ('Removing autogenerated directory %s' % (path)) + shutil.rmtree(path) + except OSError: + pass |