[Reproducible-commits] [debbindiff] 01/03: debbindiff.py: Pretend we are a C main function.

Chris Lamb lamby at moszumanska.debian.org
Sat Feb 14 11:09:01 UTC 2015


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

lamby pushed a commit to branch master
in repository debbindiff.

commit 5c8a12dffff561abf468958352a0cde18540406d
Author: Chris Lamb <lamby at debian.org>
Date:   Sat Feb 14 11:03:55 2015 +0000

    debbindiff.py: Pretend we are a C main function.
---
 debbindiff.py | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/debbindiff.py b/debbindiff.py
index d0c6a49..15de0ab 100755
--- a/debbindiff.py
+++ b/debbindiff.py
@@ -63,7 +63,8 @@ def main():
         output_html(differences, css_url=parsed_args.css_url, print_func=print_func,
                     max_page_size=parsed_args.max_report_size)
     if len(differences) > 0:
-        sys.exit(1)
+        return 1
+    return 0
 
 if __name__ == '__main__':
-    main()
+    sys.exit(main())

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



More information about the Reproducible-commits mailing list