listener/app_engine/appengine_django/__init__.py
def InstallReplacementThreadingModule():
  """Install a replacement for the python threading module.

  This is only to deal with a bug in Django 1.1+
  """
  try:
    from django.utils._threading_local import local
    import threading
    threading.local = local
  except ImportError:
    # We are in Django 1.0
    pass
  logging.debug("Installed replacement threading module")
Install a replacement for the python threading module.

  This is only to deal with a bug in Django 1.1+
  
Install a replacement for the python threading module.
This is only to deal with a bug in Django 1.1+
Install a replacement for the python threading module . This is only to deal with a bug in Django 1 . 1 +
def InstallReplacementThreadingModule():
  try:
    from django.utils._threading_local import local
    import threading
    threading.local = local
  except ImportError:
    pass
  logging.debug("Installed replacement threading module")
def InstallReplacementThreadingModule ( ) : try : from django . utils . _threading_local import local import threading threading . local = local except ImportError : pass logging . debug ( "Installed replacement threading module" )
Install a replacement for the python threading module.
Install a replacement for the python threading module .
"""Install a replacement for the python threading module.

  This is only to deal with a bug in Django 1.1+
  """ # We are in Django 1.0