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:
@@ -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:]:
|
||||
|
Reference in New Issue
Block a user