[game-data-packager] 03/03: make-template: don't complain when calling with "| head"

Alexandre Detiste detiste-guest at moszumanska.debian.org
Fri Apr 24 10:01:34 UTC 2015


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

detiste-guest pushed a commit to branch master
in repository game-data-packager.

commit 7388e9faaa78b51e95dbf3e87b5348458c779868
Author: Alexandre Detiste <alexandre.detiste at gmail.com>
Date:   Fri Apr 24 11:55:26 2015 +0200

    make-template: don't complain when calling with "| head"
---
 game_data_packager/make_template.py | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/game_data_packager/make_template.py b/game_data_packager/make_template.py
index c717574..052d711 100644
--- a/game_data_packager/make_template.py
+++ b/game_data_packager/make_template.py
@@ -366,4 +366,7 @@ def main():
             do_one_file(arg,args.lower)
 
 if __name__ == '__main__':
-    main()
+    try:
+        main()
+    except BrokenPipeError:
+        pass

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/game-data-packager.git



More information about the Pkg-games-commits mailing list