1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-02-24 11:12:14 +01:00

Merge pull request #1402 from andreas-schwab/master

search: resolve -B . to current project
This commit is contained in:
Daniel Mach 2023-09-11 09:19:02 +02:00 committed by GitHub
commit 0a47cb3295
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8453,7 +8453,7 @@ Please submit there instead, or use --nodevelproject to force direct submission.
if opts.limit_to_attribute:
xpath = xpath_join(xpath, 'attribute/@name=\'%s\'' % opts.limit_to_attribute, op='and')
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:
m = re.match(r'(.+)-(.*?)$', opts.binaryversion)
if m: