mongolab / mongoctl

Manage MongoDB servers and replica sets using JSON configurations!
MIT License
178 stars 25 forks source link

BaseException.message has been deprecated as of Python 2.6 #11

Closed josegrad closed 9 years ago

josegrad commented 10 years ago

I just followed the installation instructions but get this errors when running restore:

mongoctl restore mongodb://localhost:37017/db_development mydumpdir/

/Library/Python/2.6/site-packages/mongoctl/mongoctl.py:5257: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
  self.message  = message
/Library/Python/2.6/site-packages/mongoctl/mongoctl.py:5261: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
  return self.message

How can I check which version of mongoctl I have? I couldn't find an option for that...

Thanks.

abdulito commented 10 years ago

Hi,

This should be fixed now. I also added a "mongoctl --version" command but still havent made a release to pypi which i will be doing soon. Please let me know if you have any questions.

Thanks!

-abdul