Merge pull request #256 from mimi1vx/pkg1

Use super to init InstallPkg
This commit is contained in:
Tomáš Chvátal 2019-08-14 13:33:08 +02:00 committed by GitHub
commit d1a9f28843
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -911,7 +911,7 @@ class InstalledPkg(Pkg):
except StopIteration:
raise KeyError(name)
Pkg.__init__(self, name, '/', hdr)
super().__init__(name, '/', hdr)
self.extracted = True
# create a fake filename to satisfy some checks on the filename