plugins/__init__.py
changeset 14 eb9fdd316a40
parent 13 f1f0edbeb313
child 17 ee8cb104dbe0
equal deleted inserted replaced
13:f1f0edbeb313 14:eb9fdd316a40
     2 from __templates import PlugTemplate
     2 from __templates import PlugTemplate
     3 
     3 
     4 _base_path = path.split(__file__)[0]
     4 _base_path = path.split(__file__)[0]
     5 
     5 
     6 __all__ = [name for name in listdir(_base_path) if path.isdir(path.join(_base_path, name)) and name != "CVS" or name.endswith(".py") and not name.startswith("__")]
     6 __all__ = [name for name in listdir(_base_path) if path.isdir(path.join(_base_path, name)) and name != "CVS" or name.endswith(".py") and not name.startswith("__")]
     7 
       
     8 #for name in __all__:
       
     9 #    __import__(name, globals(), locals(), [])
       
    10