ICU-8988 merge r31315 into v.12
X-SVN-Rev: 31475
This commit is contained in:
parent
e0fdb2f39e
commit
0ac70e6c0c
@ -44,7 +44,13 @@ class ReviewModule(Component):
|
||||
|
||||
# ITemplateProvider methods
|
||||
def get_templates_dirs(self):
|
||||
return [resource_filename(__name__, 'templates')]
|
||||
try:
|
||||
return [resource_filename(__name__, 'templates')]
|
||||
except Exception, e:
|
||||
self.log.warning('Could not get template dir: %s: %s' %
|
||||
(type(e), e))
|
||||
return ""
|
||||
|
||||
|
||||
def get_htdocs_dirs(self):
|
||||
return [('icucodetools', resource_filename(__name__, 'htdocs'))]
|
||||
|
Loading…
Reference in New Issue
Block a user