mirror of
https://github.com/openSUSE/osc.git
synced 2025-01-14 09:36:21 +01:00
- sigh... python24 fix
This commit is contained in:
parent
6471a1aabf
commit
c57343cfc4
@ -23,7 +23,8 @@ class DebQuery(packagequery.PackageQuery):
|
||||
control = arfile.get_file('control.tar.gz')
|
||||
if control is None:
|
||||
raise DebError('missing control.tar.gz')
|
||||
tar = tarfile.open(fileobj = control)
|
||||
# XXX: python24 relies on a name
|
||||
tar = tarfile.open(name = 'control.tar.gz', fileobj = control)
|
||||
try:
|
||||
control = tar.extractfile('./control')
|
||||
except KeyError:
|
||||
|
Loading…
Reference in New Issue
Block a user