Commit 8a521f48 authored by Kirill Smelkov's avatar Kirill Smelkov

Merge remote-tracking branch 'refs/remotes/kirr-backup/x/lte-multiru' into x/lte-multiru

parents 9f6aa491 8a0c4812
......@@ -8,15 +8,8 @@ from slapos.recipe.template import jinja2_template
import json, copy, sys, os, pprint, glob, types
# ~ import xbuildout (see instance.cfg:activate-eggs)
def readfile(path):
with open(path) as f:
return f.read()
xbuildout = types.ModuleType('xbuildout')
exec(readfile('ru/xbuildout.py'), xbuildout.__dict__)
assert 'xbuildout' not in sys.modules
sys.modules['xbuildout'] = xbuildout
sys.path.insert(0, './ru')
import xbuildout
B = xbuildout.encode
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment