Skip to content

Commit

Permalink
More Py2.5 compat.
Browse files Browse the repository at this point in the history
  • Loading branch information
ralphbean committed Apr 9, 2012
1 parent 0e9faf4 commit 057ac45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tw2/core/resources.py
Expand Up @@ -133,7 +133,7 @@ def guess_modname(self):
frame, i = inspect.stack()[i][0], i + 1

return frame.f_globals['__name__']
except Exception as e:
except Exception:
return None

@classmethod
Expand Down

0 comments on commit 057ac45

Please sign in to comment.