That does not do what you think it does...

    >>> foo = ('datadir')
    >>> type(foo)
    <type 'str'>

What I think you mean to do is:

    __slots__ = ('dataDir',)

`__slots__` should be a tuple.
>>>