Mercurial > hg > uploader
comparison uploader/handlers.py @ 9:619516d8c9ff
fix typoe
author | egj@socialplanning.org |
---|---|
date | Sun, 03 Jan 2010 19:46:31 +0000 |
parents | a8c60480fce0 |
children | f8faf3cabb02 |
comparison
equal
deleted
inserted
replaced
8:3be4b669983c | 9:619516d8c9ff |
---|---|
62 | 62 |
63 class SubpathGet(Get): | 63 class SubpathGet(Get): |
64 | 64 |
65 @classmethod | 65 @classmethod |
66 def match(cls, app, request): | 66 def match(cls, app, request): |
67 if not Get.match(cls, app, request): | 67 if not Get.match(app, request): |
68 return False | 68 return False |
69 _path = path(app.directory, request) | 69 _path = path(app.directory, request) |
70 if os.path.exists(_path) and os.path.isdir(_path): | 70 if os.path.exists(_path) and os.path.isdir(_path): |
71 return True | 71 return True |
72 | 72 |