equal
deleted
inserted
replaced
223 """return the shared data directory (i.e. directory where standard |
223 """return the shared data directory (i.e. directory where standard |
224 library views and data may be found) |
224 library views and data may be found) |
225 """ |
225 """ |
226 if cls.mode in ('dev', 'test') and not os.environ.get('APYCOT_ROOT'): |
226 if cls.mode in ('dev', 'test') and not os.environ.get('APYCOT_ROOT'): |
227 return join(CW_SOFTWARE_ROOT, 'web') |
227 return join(CW_SOFTWARE_ROOT, 'web') |
228 return self.cube_dir('shared') |
228 return cls.cube_dir('shared') |
229 |
229 |
230 @classmethod |
230 @classmethod |
231 def i18n_lib_dir(cls): |
231 def i18n_lib_dir(cls): |
232 """return application's i18n directory""" |
232 """return application's i18n directory""" |
233 if cls.mode in ('dev', 'test') and not os.environ.get('APYCOT_ROOT'): |
233 if cls.mode in ('dev', 'test') and not os.environ.get('APYCOT_ROOT'): |