forked from github/pelican
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:
|
||||
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue