Browse Source

clean up some kwargs so we don't pass them along incorrectly..

[git-p4: depot-paths = "//depot/": change = 1666]
main
John-Mark Gurney 12 years ago
parent
commit
11c598eb7a
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      ZipStorage.py

+ 3
- 0
ZipStorage.py View File

@@ -204,6 +204,9 @@ class ZipFile(ZipItem, Item):
self.mimetype = kwargs['mimetype']
del kwargs['mimetype']
ZipItem.__init__(self, *args, **kwargs)
del kwargs['zf']
del kwargs['zo']
del kwargs['name']
self.zi = self.zf.getinfo(self.name)
kwargs['content'] = ZipResource(self.zf, self.name,
self.mimetype)


Loading…
Cancel
Save