Return the instance of ZipInfo given 'name'.
(self, name)
| 1640 | return zinfo.filename |
| 1641 | |
| 1642 | def getinfo(self, name): |
| 1643 | """Return the instance of ZipInfo given 'name'.""" |
| 1644 | info = self.NameToInfo.get(name) |
| 1645 | if info is None: |
| 1646 | raise KeyError( |
| 1647 | 'There is no item named %r in the archive' % name) |
| 1648 | |
| 1649 | return info |
| 1650 | |
| 1651 | def setpassword(self, pwd): |
| 1652 | """Set default password for encrypted files.""" |