[Checkins] SVN: five.pt/trunk/src/five/pt/engine.py fix one failing test: source_file can be None
Florian Friesdorf
flo at chaoflow.net
Tue Nov 1 22:28:36 UTC 2011
Log message for revision 123237:
fix one failing test: source_file can be None
Changed:
U five.pt/trunk/src/five/pt/engine.py
-=-
Modified: five.pt/trunk/src/five/pt/engine.py
===================================================================
--- five.pt/trunk/src/five/pt/engine.py 2011-11-01 21:59:41 UTC (rev 123236)
+++ five.pt/trunk/src/five/pt/engine.py 2011-11-01 22:28:36 UTC (rev 123237)
@@ -100,7 +100,7 @@
expression_types = cls.expression_types
# BBB: Support CMFCore's FSPagetemplateFile formatting
- if source_file.startswith('file:'):
+ if source_file is not None and source_file.startswith('file:'):
source_file = source_file[5:]
template = ChameleonPageTemplate(
More information about the checkins
mailing list