mk-fg / python-onedrive

Obsolete python/cli module for MS SkyDrive/OneDrive's old API, do not use for new projects
Do What The F*ck You Want To Public License
199 stars 32 forks source link

Fix syntax error #55

Closed CheeseTheMonkey closed 9 years ago

CheeseTheMonkey commented 9 years ago

ImportError, ImportError is erroneous

mk-fg commented 9 years ago

Thanks!

You seem to have deleted the patch before I was able to look at it though ;) I did replicate the thing, seem to be just a typo, indeed.

CheeseTheMonkey commented 9 years ago

Interestingly enough, it works in py2 (hence my deletion), but py3 is not at all happy about it

mk-fg commented 9 years ago

Yeah, apparently different syntax wrt raise b/w py2 and py3:

Didn't know they did deprecate good ol' raise type, obj, tb thing, apparently it all has to be attached to object these days.