Repository : http://git.fedorahosted.org/cgit/copr.git
On branch : master
commit d359c67d27f7f4efb8b41568c2d64e5dccd76afc Author: Miroslav Suchý msuchy@redhat.com Date: Thu Oct 17 11:41:39 2013 +0200
simplify code
no need to handle general exception and print TB. python does that by default
backend/mockremote.py | 8 +------- 1 files changed, 1 insertions(+), 7 deletions(-)
diff --git a/backend/mockremote.py b/backend/mockremote.py index bbde96c..3bdd9c4 100755 --- a/backend/mockremote.py +++ b/backend/mockremote.py @@ -636,10 +636,4 @@ def main(args):
if __name__ == '__main__': - try: - main(sys.argv[1:]) - except Exception, e: - - print "ERROR: %s - %s" % (str(type(e)), str(e)) - traceback.print_exc() - sys.exit(1) + main(sys.argv[1:])