| author | nowmad@23.1.168.192.in-addr.arpa |
| Wed, 02 Dec 2015 19:39:16 +0100 | |
| changeset 203 | 786cdb826f09 |
| parent 118 | fea47f1054e2 |
| permissions | -rw-r--r-- |
|
118
fea47f1054e2
prepare for server install, mv settings, add setup, correct various problems
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
1 |
import sys; sys.__plen = len(sys.path) |
|
fea47f1054e2
prepare for server install, mv settings, add setup, correct various problems
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
2 |
%(srv_config_path)s |
|
fea47f1054e2
prepare for server install, mv settings, add setup, correct various problems
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
3 |
import sys; new=sys.path[sys.__plen:]; del sys.path[sys.__plen:]; p=getattr(sys,'__egginsert',0); sys.path[p:p]=new; sys.__egginsert = p+len(new) |