[Reproducible-commits] [diffoscope] 01/01: fix case when argparse exit early

Mattia Rizzolo mattia at mapreri.org
Thu Aug 20 14:04:50 UTC 2015


This is an automated email from the git hooks/post-receive script.

mapreri-guest pushed a commit to branch master
in repository diffoscope.

commit 656243c36c53135c5b89661f82fc3c85d3801718
Author: Mattia Rizzolo <mattia at mapreri.org>
Date:   Thu Aug 20 14:04:13 2015 +0000

    fix case when argparse exit early
    
    Gbp-Dch: Ignore
---
 diffoscope.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/diffoscope.py b/diffoscope.py
index 668c6b8..1b8182b 100755
--- a/diffoscope.py
+++ b/diffoscope.py
@@ -118,7 +118,7 @@ if __name__ == '__main__':
     except KeyboardInterrupt:
         logger.info('Keyboard Interrupt')
         sys.exit(2)
-    except:
+    except Exception:
         traceback.print_exc()
         if parsed_args.debugger:
             import pdb

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/diffoscope.git



More information about the Reproducible-commits mailing list