[py-svn] r34959 - py/dist/py/rest
arigo at codespeak.net
arigo at codespeak.net
Sat Nov 25 15:02:56 CET 2006
Author: arigo
Date: Sat Nov 25 15:02:55 2006
New Revision: 34959
Modified:
py/dist/py/rest/latex.py
Log:
Don't put a py.path object in sys.path. Confusion.
Modified: py/dist/py/rest/latex.py
==============================================================================
--- py/dist/py/rest/latex.py (original)
+++ py/dist/py/rest/latex.py Sat Nov 25 15:02:55 2006
@@ -82,7 +82,7 @@
configfile = py.path.local(configfile)
path = configfile.dirpath()
configfile_dic = {}
- py.std.sys.path.insert(0, path)
+ py.std.sys.path.insert(0, str(path))
execfile(str(configfile), configfile_dic)
pagebreak = configfile_dic.get("pagebreak", False)
rest_sources = [py.path.local(p)
More information about the py-svn
mailing list