server/sbin/sync/config_path.pth
author rougeronj
Thu, 11 Jun 2015 12:35:10 +0200
changeset 166 eb84ca2b6317
parent 118 fea47f1054e2
permissions -rw-r--r--
show all books (even those created from scratch) in books.html

import sys; sys.__plen = len(sys.path)
%(srv_config_path)s
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)