Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(6)  |  Call(6)  |  Derive(0)  |  Import(0)

src/l/i/Live-Blog-HEAD/plugins/superdesk-language/__plugin__/superdesk_language/__init__.py   Live-Blog(Download)
# Babel FIX: We need to adjust the dir name for locales since they need to be outside the .egg file
localedata._dirname = localedata._dirname.replace('.egg', '')
core._filename = core._filename.replace('.egg', '')
 

src/l/i/liveblog-1.5.0/__plugin__/superdesk_language/__init__.py   liveblog(Download)
# Babel FIX: We need to adjust the dir name for locales since they need to be outside the .egg file
localedata._dirname = localedata._dirname.replace('.egg', '')
core._filename = core._filename.replace('.egg', '')
 

src/i/n/internationalization-1.0/internationalization/core/impl/po_file_manager.py   internationalization(Download)
# Babel FIX: We need to adjust the dir name for locales since they need to be outside the .egg file
localedata._dirname = localedata._dirname.replace('.egg', '')
core._filename = core._filename.replace('.egg', '')
 
FORMAT_PO = '%s_%s.po'

src/a/l/ally-py-0.9.0/internationalization/core/impl/po_file_manager.py   ally-py(Download)
# Babel FIX: We need to adjust the dir name for locales since they need to be outside the .egg file
localedata._dirname = localedata._dirname.replace('.egg', '')
core._filename = core._filename.replace('.egg', '')
 
FORMAT_PO = '%s_%s.po'

src/l/i/Live-Blog-HEAD/plugins/superdesk-language/test/performance/superdesk/language/impl/language.py   Live-Blog(Download)
    def testPerformance(self):
        from babel import localedata, core
        # Babel FIX: We need to adjust the dir name for locales since they need to be outside the .egg file
        localedata._dirname = localedata._dirname.replace('.egg', '')
        core._filename = core._filename.replace('.egg', '')

src/l/i/liveblog-1.5.0/test/performance/superdesk/language/impl/language.py   liveblog(Download)
    def testPerformance(self):
        from babel import localedata, core
        # Babel FIX: We need to adjust the dir name for locales since they need to be outside the .egg file
        localedata._dirname = localedata._dirname.replace('.egg', '')
        core._filename = core._filename.replace('.egg', '')