1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-08-06 15:43:39 +02:00

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.
This commit is contained in:
Danny Kukawka
2010-07-27 14:03:26 +02:00
parent 6712b44bee
commit eb0cb6dee9

View File

@@ -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:]: