From eb0cb6dee9554496d2861ebe9c23740126b0a5cd Mon Sep 17 00:00:00 2001 From: Danny Kukawka Date: Tue, 27 Jul 2010 14:03:26 +0200 Subject: [PATCH] don't raise error message after self.print_repos() Don't raise error message after self.print_repos(), since the message will never be printed. --- osc/commandline.py | 1 - 1 file changed, 1 deletion(-) diff --git a/osc/commandline.py b/osc/commandline.py index 6a5b9587..d3fbd3a7 100644 --- a/osc/commandline.py +++ b/osc/commandline.py @@ -3456,7 +3456,6 @@ Please submit there instead, or use --nodevelproject to force direct submission. files = glob.glob(os.path.join(os.getcwd(), store, "_buildinfo-*")) if not files: self.print_repos() - raise oscerr.WrongArgs('No buildconfig found, please specify repo and arch manually.') cfg = files[0] # find newest file for f in files[1:]: