summaryrefslogtreecommitdiff
path: root/debian/python-leap.common/usr/share/pyshared/leap.common-0.2.3_dev-nspkg.pth
diff options
context:
space:
mode:
Diffstat (limited to 'debian/python-leap.common/usr/share/pyshared/leap.common-0.2.3_dev-nspkg.pth')
-rw-r--r--debian/python-leap.common/usr/share/pyshared/leap.common-0.2.3_dev-nspkg.pth1
1 files changed, 1 insertions, 0 deletions
diff --git a/debian/python-leap.common/usr/share/pyshared/leap.common-0.2.3_dev-nspkg.pth b/debian/python-leap.common/usr/share/pyshared/leap.common-0.2.3_dev-nspkg.pth
new file mode 100644
index 0000000..0f2034f
--- /dev/null
+++ b/debian/python-leap.common/usr/share/pyshared/leap.common-0.2.3_dev-nspkg.pth
@@ -0,0 +1 @@
+import sys,types,os; p = os.path.join(sys._getframe(1).f_locals['sitedir'], *('leap',)); ie = os.path.exists(os.path.join(p,'__init__.py')); m = not ie and sys.modules.setdefault('leap',types.ModuleType('leap')); mp = (m or []) and m.__dict__.setdefault('__path__',[]); (p not in mp) and mp.append(p)