From: "Brian Dolbec" <brian.dolbec@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/catalyst:3.0 commit in: catalyst/
Date: Wed, 22 Jan 2014 05:04:13 +0000 (UTC) [thread overview]
Message-ID: <1390365325.f60f19ae5e6c6a82beb045e18465d62fd1e85f50.dol-sen@gentoo> (raw)
commit: f60f19ae5e6c6a82beb045e18465d62fd1e85f50
Author: Brian Dolbec <dolsen <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 22 01:54:08 2014 +0000
Commit: Brian Dolbec <brian.dolbec <AT> gmail <DOT> com>
CommitDate: Wed Jan 22 04:35:25 2014 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/catalyst.git;a=commit;h=f60f19ae
Remove excessive exceptions hiding tracebacks
---
catalyst/main.py | 28 ++++++----------------------
1 file changed, 6 insertions(+), 22 deletions(-)
diff --git a/catalyst/main.py b/catalyst/main.py
index 6f8bd8d..0366932 100644
--- a/catalyst/main.py
+++ b/catalyst/main.py
@@ -349,10 +349,10 @@ def main():
try:
build_target(addlargs)
- except CatalystError:
- print
- print "Catalyst aborting...."
- sys.exit(2)
+ #except CatalystError:
+ # print
+ # print "Catalyst aborting...."
+ # sys.exit(2)
except KeyboardInterrupt:
print "\nCatalyst build aborted due to user interrupt ( Ctrl-C )"
print
@@ -361,24 +361,8 @@ def main():
except LockInUse:
print "Catalyst aborting...."
sys.exit(2)
- except:
- print "Catalyst aborting...."
- raise
- sys.exit(2)
-
- #except CatalystError:
- # print
- # print "Catalyst aborting...."
- # sys.exit(2)
- #except KeyError:
- # print "\nproblem with command line or spec file ( Key Error )"
- # print "Key: "+str(sys.exc_value)+" was not found"
+ #except:
# print "Catalyst aborting...."
- # sys.exit(2)
- #except UnboundLocalError:
- # print
- # print "UnboundLocalError: "+str(sys.exc_value)+" was not found"
# raise
- # print
- # print "Catalyst aborting...."
# sys.exit(2)
+
next reply other threads:[~2014-01-22 5:04 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-22 5:04 Brian Dolbec [this message]
-- strict thread matches above, loose matches on Subject: below --
2014-04-18 16:52 [gentoo-commits] proj/catalyst:3.0 commit in: catalyst/ Brian Dolbec
2014-04-18 16:52 Brian Dolbec
2014-04-18 16:52 Brian Dolbec
2014-01-22 5:04 Brian Dolbec
2014-01-22 5:04 Brian Dolbec
2014-01-22 5:04 Brian Dolbec
2013-11-21 9:06 Brian Dolbec
2013-11-21 9:06 Brian Dolbec
2013-11-21 9:06 Brian Dolbec
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1390365325.f60f19ae5e6c6a82beb045e18465d62fd1e85f50.dol-sen@gentoo \
--to=brian.dolbec@gmail.com \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox