From e627d1d01f36a1c4935978861db6e46b77167f1e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Fri, 12 Oct 2018 20:06:47 +0200 Subject: Refresh d/p/0110-remove_stale_files.patch for python 3 compatibility --- debian/patches/0110-remove_stale_files.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'debian/patches/0110-remove_stale_files.patch') diff --git a/debian/patches/0110-remove_stale_files.patch b/debian/patches/0110-remove_stale_files.patch index b3a94d2..298d47c 100644 --- a/debian/patches/0110-remove_stale_files.patch +++ b/debian/patches/0110-remove_stale_files.patch @@ -13,7 +13,7 @@ Index: trunk/engine/SCons/Script/Main.py + # Remove temporary files left by SCons + if options.clean: -+ if os.environ.has_key('DH_INTERNAL_OPTIONS'): ++ if 'DH_INTERNAL_OPTIONS' in os.environ: + import shutil + for path in ('.sconsign.dblite', '.sconf_temp'): + try: -- cgit v1.2.3