projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
805f509
)
Add back missing err() function.
author
Zac Medico
<zmedico@gentoo.org>
Sun, 2 Dec 2007 21:07:30 +0000
(21:07 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Sun, 2 Dec 2007 21:07:30 +0000
(21:07 -0000)
svn path=/main/trunk/; revision=8807
bin/repoman
patch
|
blob
|
history
diff --git
a/bin/repoman
b/bin/repoman
index c86b4f3225f58db1e8fe2734ba06122e65d62a33..540666e9b502328855a173b9c816b08d5e3a2093 100755
(executable)
--- a/
bin/repoman
+++ b/
bin/repoman
@@
-83,6
+83,13
@@
if repoman_settings.get("NOCOLOR", "").lower() in ("yes", "true") or \
not sys.stdout.isatty():
nocolor()
+def warn(txt):
+ print "repoman: " + txt
+
+def err(txt):
+ warn(txt)
+ sys.exit(1)
+
def exithandler(signum=None, frame=None):
logging.fatal("Interrupted; exiting...")
sys.exit(1)