1
0
Fork 0
forked from github/pelican

Python 2.5 compatibility

This commit is contained in:
Mikhail Korobov 2011-05-06 16:45:27 +06:00
commit 3a301b1859

View file

@ -89,6 +89,6 @@ def is_valid_content(content, f):
try:
content.check_properties()
return True
except NameError as e:
except NameError, e:
error(u"Skipping %s: impossible to find informations about '%s'" % (f, e))
return False