mirror of
https://gitea.mueller.network/extern/django-helpdesk.git
synced 2024-11-21 23:43:11 +01:00
Syntax correction for Python 3.4 and 3.5
This commit is contained in:
parent
574009e375
commit
8341ad217c
@ -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