Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Ticket #1403: dodgy-webpath.patch

File dodgy-webpath.patch, 625 bytes (added by paj, 5 years ago)

Hacky patch that gets me going

  • toscawidgets/mods/tg.py

     
    3535 
    3636            from  toscawidgets.resources import registry 
    3737            for webpath, dir in registry.get_prefixed(): 
    38                 webpath = self.__class__.url(webpath) 
     38                webpath = PREFIX + webpath #self.__class__.url(webpath) 
    3939                log.info("Registering static directory %r at %r", dir, webpath) 
    4040                self._register_static_directory(webpath, dir) 
    4141            del self.url