mirror of
https://github.com/openSUSE/osc.git
synced 2024-12-27 02:16:12 +01:00
Merge pull request #526 from lethliel/python3_fix_debquery_decoding
[python3] fix decoding issue in debquery.py
This commit is contained in:
commit
71770555ac
@ -229,9 +229,9 @@ class DebQuery(packagequery.PackageQuery, packagequery.PackageQueryResult):
|
||||
@staticmethod
|
||||
def filename(name, epoch, version, release, arch):
|
||||
if release:
|
||||
return b'%s_%s-%s_%s.deb' % (name, version, release, arch)
|
||||
return '%s_%s-%s_%s.deb' % (name, version, release, arch)
|
||||
else:
|
||||
return b'%s_%s_%s.deb' % (name, version, arch)
|
||||
return '%s_%s_%s.deb' % (name, version, arch)
|
||||
|
||||
if __name__ == '__main__':
|
||||
import sys
|
||||
|
Loading…
Reference in New Issue
Block a user