Mercurial > ~astiob > upreckon > hgweb
comparison upreckon/files.py @ 219:7827e63cd148
Corrected a wrongly indented line
author | Oleg Oshmyan <chortos@inbox.lv> |
---|---|
date | Wed, 26 Oct 2011 22:18:35 +0100 |
parents | 1cbe2c428942 |
children | 1bc89faac941 67fd512bb54a |
comparison
equal
deleted
inserted
replaced
218:65b5c9390010 | 219:7827e63cd148 |
---|---|
228 @property | 228 @property |
229 def full_real_path(self): | 229 def full_real_path(self): |
230 intpath = self._internal_path.split('/') if self._internal_path else () | 230 intpath = self._internal_path.split('/') if self._internal_path else () |
231 return os.path.join(self._external_path, | 231 return os.path.join(self._external_path, |
232 *(filename.replace('.', os.path.extsep) | 232 *(filename.replace('.', os.path.extsep) |
233 for filename in intpath)) | 233 for filename in intpath)) |
234 | 234 |
235 def exists(self): | 235 def exists(self): |
236 if self.archive: | 236 if self.archive: |
237 return self.archive.exists(self._internal_path) | 237 return self.archive.exists(self._internal_path) |
238 else: | 238 else: |