Mercurial > ~astiob > upreckon > hgweb
diff 2.00/files.py @ 34:8fec38b0dd6e
A os.path.relpath implementation for Python 2.5
author | Oleg Oshmyan <chortos@inbox.lv> |
---|---|
date | Tue, 30 Nov 2010 00:18:17 +0000 |
parents | fe1463e7e24d |
children |
line wrap: on
line diff
--- a/2.00/files.py Mon Nov 29 22:15:01 2010 +0000 +++ b/2.00/files.py Tue Nov 30 00:18:17 2010 +0000 @@ -121,7 +121,6 @@ path = None member = self.file.getinfo(name) - # FIXME: 2.5 lacks os.path.realpath member.filename = os.path.relpath(target, path) # FIXME: 2.5 lacks ZipFile.extract self.file.extract(member, path)