def static_url(path, request, **kw):
 if (not os.path.isabs(path)):
  if (':' not in path):
   package = caller_package()
   path = ('%s:%s' % (package.__name__, path))
 return request.static_url(path, **kw)

def static_url ( path , request , ** kw ) : if ( not os . path . isabs ( path ) ) : if ( ':' not in path ) : package = caller_package ( ) path = ( '%s:%s' % ( package . __name__ , path ) ) return request . static_url ( path , ** kw )
this is a backwards compatibility function .