fixed comment to not refer to the specific use case of some application readers

will not know about.
This commit is contained in:
Frédéric Péters 2009-02-25 20:01:45 +00:00
parent c4784085f1
commit 973f4434ac
1 changed files with 4 additions and 4 deletions

View File

@ -60,11 +60,11 @@ class QommonPublisher(Publisher):
def get_root_url(self):
return self.get_request().environ['SCRIPT_NAME'] + '/'
# This function is overriden in Larpe because its static files are accessible in a
# sub-folder (/larpe), while other applications' static files are accessible at site
# root url (/)
def get_application_static_files_root_url(self):
return self.get_request().environ['SCRIPT_NAME'] + '/'
# Typical applications will have their static files under the same root
# directory as themselves; this method allows others to host them under
# some other path, or even on some totally different hostname.
return self.get_root_url()
def format_publish_error(self, exc):
get_response().filter = {}