Added api functions for implementing protocols sending out-of-band data between server and portal (e.g. like GMCP)

This commit is contained in:
Griatch 2011-11-08 22:54:02 +01:00
parent 3e8b43d222
commit bced571805
6 changed files with 164 additions and 16 deletions

View file

@ -542,7 +542,7 @@ def has_parent(basepath, obj):
def mod_import(mod_path, propname=None):
"""
Takes filename of a module, converts it to a python path
Takes filename of a module (a python path or a full pathname)
and imports it. If property is given, return the named
property from this module instead of the module itself.
"""