def fixup_paths(path):
 try:
  import google
  google.__path__.append('{0}/google'.format(path))
 except ImportError:
  pass
 sys.path.insert(0, path)

def fixup_paths ( path ) : try : import google google . __path__ . append ( '{0}/google' . format ( path ) ) except ImportError : pass sys . path . insert ( 0 , path )
adds gae sdk path to system path and appends it to the google path if that already exists .