1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-01-08 15:36:14 +01:00
Commit Graph

2 Commits

Author SHA1 Message Date
fdd2c3a8f0 Fix creating a Package object by providing multiple files on the command line 2023-01-20 16:52:11 +01:00
c8f4487201 Replace core.findpacs() with Package.from_paths() and Package.from_paths_nofail()
The original findpacs() was returning either [Package]
or ([Package], [str]) depending on the `fatal` option.
This confused pylint and it was returning false-positives:
E1101: Instance of 'list' has no '...' member (no-member)
2022-09-20 11:32:25 +02:00