• R/O
  • SSH
  • HTTPS

shibuya-trac: Commit


Commit MetaInfo

Revision854 (tree)
Time2014-08-30 23:51:34
Authorjun66j5

Log Message

GanttCalendarPlugin: follow-up to r852, fixed missing pkg_resources

Change Summary

Incremental Difference

--- plugins/ganttcalendarplugin/trunk/ganttcalendar/admin.py (revision 853)
+++ plugins/ganttcalendarplugin/trunk/ganttcalendar/admin.py (revision 854)
@@ -26,7 +26,7 @@
2626 def __init__(self):
2727 from pkg_resources import resource_filename, resource_exists
2828 if resource_exists(__name__, 'locale'):
29- locale_dir = pkg_resources.resource_filename(__name__, 'locale')
29+ locale_dir = resource_filename(__name__, 'locale')
3030 add_domain(self.env.path, locale_dir)
3131
3232 # Work around for untranslated messages when first-response
Show on old repository browser