From 088be8d8845c14d5877aa56abbdfc61d55b778d9 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sun, 2 Dec 2007 21:07:30 +0000 Subject: [PATCH] Add back missing err() function. svn path=/main/trunk/; revision=8807 --- bin/repoman | 7 +++++++ 1 file changed, 7 insertions(+) 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) -- 2.26.2