summaryrefslogtreecommitdiff
path: root/debian/patches/0110-remove_stale_files.patch
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2017-10-01 13:23:10 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2017-10-01 13:23:10 +0200
commit0414abd565dbdf12ea741930bef5268bc7fe6da3 (patch)
treeaa7e983f81ffe2090fa31869b6670bf18bcc28a0 /debian/patches/0110-remove_stale_files.patch
parent3765e33b76c51c81dd7bbbfacab0c4e76a1713cb (diff)
parent3bab2962eecc24c19366692e52ebca5eb835d117 (diff)
Merge branch 'feature/upstream' into develop
Diffstat (limited to 'debian/patches/0110-remove_stale_files.patch')
-rw-r--r--debian/patches/0110-remove_stale_files.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/debian/patches/0110-remove_stale_files.patch b/debian/patches/0110-remove_stale_files.patch
index d4be6bf..b3a94d2 100644
--- a/debian/patches/0110-remove_stale_files.patch
+++ b/debian/patches/0110-remove_stale_files.patch
@@ -7,8 +7,8 @@ Index: trunk/engine/SCons/Script/Main.py
===================================================================
--- trunk.orig/engine/SCons/Script/Main.py
+++ trunk/engine/SCons/Script/Main.py
-@@ -1094,6 +1094,21 @@ def _main(parser):
- print 'Found nothing to build'
+@@ -1106,6 +1106,21 @@ def _main(parser):
+ print('Found nothing to build')
exit_status = 2
+ # Remove temporary files left by SCons
@@ -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