Commits

Josh VanderLinden  committed b29cfe3

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

  • Participants
  • Parent commits 6547fa0
  • Tags 2.0.2

Comments (0)

Files changed (2)

File articles/__init__.py

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

File 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: