mirror of
https://github.com/openSUSE/osc.git
synced 2025-02-21 09:42:11 +01:00
- do_search: '::' isn't a perl specific namespace/package/module separator
This commit is contained in:
parent
1ac7970071
commit
b1d6fc7655
@ -4973,11 +4973,7 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
||||
else:
|
||||
return '%s = \'%s\'' % (attr, what)
|
||||
|
||||
# support perl package names and symbols:
|
||||
if re.match('^\w+(::\w+)+$', search_term):
|
||||
search_term = 'perl-' + re.sub('::','-', search_term)
|
||||
opts.package = True
|
||||
|
||||
# support perl symbols:
|
||||
if re.match('^perl\(\w+(::\w+)*\)$', search_term):
|
||||
search_term = re.sub('\)','', re.sub('(::|\()','-', search_term))
|
||||
opts.package = True
|
||||
|
Loading…
x
Reference in New Issue
Block a user