mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Python 2.5 compatibility
This commit is contained in:
parent
06246557c5
commit
3a301b1859
1 changed files with 1 additions and 1 deletions
|
|
@ -89,6 +89,6 @@ def is_valid_content(content, f):
|
||||||
try:
|
try:
|
||||||
content.check_properties()
|
content.check_properties()
|
||||||
return True
|
return True
|
||||||
except NameError as e:
|
except NameError, e:
|
||||||
error(u"Skipping %s: impossible to find informations about '%s'" % (f, e))
|
error(u"Skipping %s: impossible to find informations about '%s'" % (f, e))
|
||||||
return False
|
return False
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue