Return the instance of ZipInfo given 'name'.
(self, name)
| 1486 | return zinfo.filename |
| 1487 | |
| 1488 | def getinfo(self, name): |
| 1489 | """Return the instance of ZipInfo given 'name'.""" |
| 1490 | info = self.NameToInfo.get(name) |
| 1491 | if info is None: |
| 1492 | raise KeyError( |
| 1493 | 'There is no item named %r in the archive' % name) |
| 1494 | |
| 1495 | return info |
| 1496 | |
| 1497 | def setpassword(self, pwd): |
| 1498 | """Set default password for encrypted files.""" |
no test coverage detected