mirror of
https://gitea.mueller.network/extern/django-helpdesk.git
synced 2024-11-25 09:23:39 +01:00
Merge pull request #417 from ari3s/patch-1
Syntax correction for Python 3.4 and 3.5
This commit is contained in:
commit
baab36653e
@ -133,7 +133,7 @@ class Akismet(object):
|
||||
def _safeRequest(self, url, data, headers):
|
||||
try:
|
||||
resp = _fetch_url(url, data, headers)
|
||||
except Exception, e:
|
||||
except Exception as e:
|
||||
raise AkismetError(str(e))
|
||||
return resp
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user