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 ...@@ -8,15 +8,8 @@ from slapos.recipe.template import jinja2_template
import json, copy, sys, os, pprint, glob, types import json, copy, sys, os, pprint, glob, types
sys.path.insert(0, './ru')
# ~ import xbuildout (see instance.cfg:activate-eggs) import xbuildout
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
B = xbuildout.encode 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