mirror of
https://github.com/openSUSE/osc.git
synced 2025-01-14 09:36:21 +01:00
- fix indentation (enforceming pattern file argument)
- don't implicitely add .xml to pattern files -- it will probably cause confusion.
This commit is contained in:
parent
a9dbc4bb1d
commit
1945a7a683
@ -207,7 +207,6 @@ class Osc(cmdln.Cmdln):
|
|||||||
project = args[0]
|
project = args[0]
|
||||||
if len(args) > 1:
|
if len(args) > 1:
|
||||||
pattern = args[1]
|
pattern = args[1]
|
||||||
pattern += '.xml'
|
|
||||||
else:
|
else:
|
||||||
pattern = None
|
pattern = None
|
||||||
# enforce pattern argument if needed
|
# enforce pattern argument if needed
|
||||||
|
Loading…
Reference in New Issue
Block a user