File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ BUILT_SOURCES = \
8686 $(HTML_FILES )
8787
8888reference/builddate.xml : $(REFERENCE_DEPS )
89- $(PYTHON ) -c ' import datetime; print datetime.date.today()' > $@
89+ $(PYTHON ) -c ' import datetime; print ( datetime.date.today() )' > $@
9090
9191$(HTML_FILES ) : $(REFERENCE_DEPS )
9292 xsltproc --nonet --xinclude -o $(BUILDDIR ) /html/ \
Original file line number Diff line number Diff line change @@ -196,7 +196,7 @@ caja_python_init_python (void)
196196 }
197197
198198 debug ("Sanitize the python search path" );
199- PyRun_SimpleString ("import sys; sys.path = filter(None, sys.path)" );
199+ PyRun_SimpleString ("import sys; sys.path = list( filter(None, sys.path) )" );
200200 if (PyErr_Occurred ())
201201 {
202202 PyErr_Print ();
You can’t perform that action at this time.
0 commit comments