mbanton / nose-mongoengine

A nose plugin to facilitate the creation of automated tests that access Mongo Engine structures.
Apache License 2.0
9 stars 7 forks source link

Updating exception syntax for Python 3 #2

Closed nikestep closed 10 years ago

nikestep commented 10 years ago

Fix #1

According to http://docs.python.org/3/howto/pyporting.html#capturing-the-currently-raised-exception this fix will be compatible with Python 2.6 and up, including Python 3.

dayvson commented 10 years ago

Thanks for that!

nikestep commented 10 years ago

Can you do a release with the change? I'm looking to use the plugin in a build chain.

dayvson commented 10 years ago

Hi @mbanton can you publish the build I already bump up the version.

mbanton commented 10 years ago

Hello @nikestep and @dayvson

Thanks for the corrections. Just up the package to the PyPI repository. Sorry for the delay, I was on vacation in the last days.

Link to the package of the corrected version: https://pypi.python.org/pypi/nose-mongoengine/0.2.2

nikestep commented 10 years ago

Fixed the issue. Thanks much!