Adding new stuff

This commit is contained in:
ViktorBarzin 2017-12-10 00:00:02 +00:00
parent 3d621f7993
commit 91c18a10da
449 changed files with 2 additions and 1 deletions

View file

@ -0,0 +1 @@
import sys, types, os;p = os.path.join(sys._getframe(1).f_locals['sitedir'], *('logilab',));ie = os.path.exists(os.path.join(p,'__init__.py'));m = not ie and sys.modules.setdefault('logilab', types.ModuleType('logilab'));mp = (m or []) and m.__dict__.setdefault('__path__',[]);(p not in mp) and mp.append(p)