[PATCH 1/3] fedpkg: Show full exception if verbose

Till Maas opensource at till.name
Sun Jul 6 14:40:14 UTC 2014


---
 src/fedpkg/__main__.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/fedpkg/__main__.py b/src/fedpkg/__main__.py
index c64f61e..4650040 100644
--- a/src/fedpkg/__main__.py
+++ b/src/fedpkg/__main__.py
@@ -70,6 +70,8 @@ def main():
         pass
     except Exception, e:
         log.error('Could not execute %s: %s' % (client.args.command.__name__, e))
+        if client.args.v:
+            raise
         sys.exit(1)
 
 if __name__ == "__main__":
-- 
1.8.3.1



More information about the buildsys mailing list