I think the __init__ from filesystem_notifications is pretty ugly, but the code right now has to be in that way because of lint restriction, maybe we could add this file to the ignore ones in pylintrc and leave the code like this:
if sys.platform == "win32":
from ubuntuone.platform.filesystem_notifications import pyinotify_agnostic as pyinotify
...
else:
import pyinotify
...
I think the __init__ from filesystem_ notifications is pretty ugly, but the code right now has to be in that way because of lint restriction, maybe we could add this file to the ignore ones in pylintrc and leave the code like this:
if sys.platform == "win32": platform. filesystem_ notifications import pyinotify_agnostic as pyinotify
from ubuntuone.
...
else:
import pyinotify
...
Opinions?