Skip to content
Snippets Groups Projects
Commit 46323c04 authored by jkerdreu's avatar jkerdreu
Browse files

Fix Py3 exception handling (grrr old except Error,msg was better ..)

git-svn-id: https://redmine.imt-atlantique.fr/svn/xaal/code/Python/branches/fork@1618 b32b6428-25c9-4566-ad07-03861ab6144f
parent fb0b2680
No related branches found
No related tags found
No related merge requests found
......@@ -55,7 +55,7 @@ class GW:
def update(self):
try:
self._update()
except OWMError,e:
except OWMError as e:
logger.warn(e)
def _update(self):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment