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

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

        def _get_localzone():
    if winreg is None:
        raise pytz.UnknownTimeZoneError(
            'Runtime support not available')
    return pytz.timezone(get_localzone_name())
        


src/m/i/microblog-HEAD/flask/lib/python2.7/site-packages/babel/localtime/__init__.py   microblog(Download)
 
if sys.platform == 'win32':
    from babel.localtime._win32 import _get_localzone
else:
    from babel.localtime._unix import _get_localzone

src/f/j/fjord-HEAD/vendor/packages/Babel/babel/localtime/__init__.py   fjord(Download)
 
if sys.platform == 'win32':
    from babel.localtime._win32 import _get_localzone
else:
    from babel.localtime._unix import _get_localzone

src/z/e/ZenPacks.zenoss.OpenStack-HEAD/src/Babel-1.3/babel/localtime/__init__.py   ZenPacks.zenoss.OpenStack(Download)
 
if sys.platform == 'win32':
    from babel.localtime._win32 import _get_localzone
else:
    from babel.localtime._unix import _get_localzone

src/b/a/Babel-1.3/babel/localtime/__init__.py   Babel(Download)
 
if sys.platform == 'win32':
    from babel.localtime._win32 import _get_localzone
else:
    from babel.localtime._unix import _get_localzone

src/p/r/proofofexistence-HEAD/babel/localtime/__init__.py   proofofexistence(Download)
 
if sys.platform == 'win32':
    from babel.localtime._win32 import _get_localzone
else:
    from babel.localtime._unix import _get_localzone