Commits

Josh VanderLinden committed b29cfe3

#5 - Fixed some Python 2.6+ syntax that is incompatible with prior Python versions

Comments (0)

Files changed (2)

articles/__init__.py

-__version__ = '2.0.1-pre1'
+__version__ = '2.0.2'
 
 """
 The Pygments reStructuredText directive

articles/management/commands/convert_comments_to_disqus.py

         url = 'http://disqus.com/api/%s/%s' % (url, additional)
         try:
             handle = urllib2.urlopen(url, data)
-        except urllib2.HTTPError as err:
+        except urllib2.HTTPError, err:
             print 'Failed to %s %s with args %s' % (method, url, args)
             return None
         else: