summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/repoman7
1 files changed, 7 insertions, 0 deletions
diff --git a/bin/repoman b/bin/repoman
index c86b4f322..540666e9b 100755
--- 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)