Mercurial > ~astiob > upreckon > hgweb
comparison upreckon/files.py @ 155:f8041e1e4d0d
win32 now includes its App-Path-aware Popen wrapper in its __all__
App Paths are now checked when launching output validators.
author | Oleg Oshmyan <chortos@inbox.lv> |
---|---|
date | Sat, 04 Jun 2011 00:14:16 +0100 |
parents | d5b6708c1955 |
children | e0b2fbd7ebe0 |
comparison
equal
deleted
inserted
replaced
154:eb0866a11ba1 | 155:f8041e1e4d0d |
---|---|
207 return False | 207 return False |
208 | 208 |
209 def realize_path_archive(self, archive, root, virtpath, archpath): | 209 def realize_path_archive(self, archive, root, virtpath, archpath): |
210 if root and not archive.exists(root): | 210 if root and not archive.exists(root): |
211 return False | 211 return False |
212 if root: path = ''.join((root, '/', virtpath[0])) | 212 if root: path = '/'.join((root, virtpath[0])) |
213 else: path = virtpath[0] | 213 else: path = virtpath[0] |
214 if len(virtpath) > 1: | 214 if len(virtpath) > 1: |
215 if self.realize_path_archive(archive, path, virtpath[1:], archpath): | 215 if self.realize_path_archive(archive, path, virtpath[1:], archpath): |
216 return True | 216 return True |
217 elif self.realize_path_archive(archive, root, virtpath[1:], archpath): | 217 elif self.realize_path_archive(archive, root, virtpath[1:], archpath): |