1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-03-28 18:10:03 +01:00

search: resolve -B . to current project

This commit is contained in:
Andreas Schwab 2023-09-04 11:48:59 +02:00
parent 1dd06ca07f
commit e8fc97b231

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: