mirror of
https://github.com/openSUSE/osc.git
synced 2025-04-03 22:03:06 +02:00
search: resolve -B . to current project
This commit is contained in:
parent
1dd06ca07f
commit
e8fc97b231
@ -8453,7 +8453,7 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
|||||||
if opts.limit_to_attribute:
|
if opts.limit_to_attribute:
|
||||||
xpath = xpath_join(xpath, 'attribute/@name=\'%s\'' % opts.limit_to_attribute, op='and')
|
xpath = xpath_join(xpath, 'attribute/@name=\'%s\'' % opts.limit_to_attribute, op='and')
|
||||||
if opts.baseproject:
|
if opts.baseproject:
|
||||||
xpath = xpath_join(xpath, 'path/@project=\'%s\'' % opts.baseproject, op='and')
|
xpath = xpath_join(xpath, 'path/@project=\'%s\'' % self._process_project_name(opts.baseproject), op='and')
|
||||||
if opts.binaryversion:
|
if opts.binaryversion:
|
||||||
m = re.match(r'(.+)-(.*?)$', opts.binaryversion)
|
m = re.match(r'(.+)-(.*?)$', opts.binaryversion)
|
||||||
if m:
|
if m:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user