Warning:
Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.
| File dodgy-webpath.patch,
625 bytes
(added by paj, 5 years ago) |
|
Hacky patch that gets me going
|
-
|
|
|
|
| 35 | 35 | |
| 36 | 36 | from toscawidgets.resources import registry |
| 37 | 37 | for webpath, dir in registry.get_prefixed(): |
| 38 | | webpath = self.__class__.url(webpath) |
| | 38 | webpath = PREFIX + webpath #self.__class__.url(webpath) |
| 39 | 39 | log.info("Registering static directory %r at %r", dir, webpath) |
| 40 | 40 | self._register_static_directory(webpath, dir) |
| 41 | 41 | del self.url |
Download in other formats: