nuagenetworks / bambou

low level rest communication library for vsp style apis
BSD 3-Clause "New" or "Revised" License
7 stars 11 forks source link

Convert code to be able to import the module in python 3.3.2 #8

Closed aongenae closed 8 years ago

aongenae commented 8 years ago

No tests were run. I just modified the code to successfully "import" bambou on both python 2.7.11 and python 3.3.2

aongenae commented 8 years ago

python 2 does not seem impacted by the change (at least the part covered in unittests)

┌─( myhost pg2 )──{ p3 }──[ ~/bambou ]──┈
└─⊳ python -V
Python 2.7.11

┌─( myhost pg2 )──{ p3 }──[ ~/bambou ]──┈
└─⊳ nosetests
................................................................................................
----------------------------------------------------------------------
Ran 96 tests in 1.184s

OK

still some work to do to get python 3 working

primalmotion commented 8 years ago

Thx!