settings: python 3.3 compat
Python 3.3 doesn't like us overriding properties in __slots__, so set it to an empty list.
This commit is contained in:
@@ -39,9 +39,13 @@ class SearchPathList(object):
|
|||||||
|
|
||||||
class Settings(object):
|
class Settings(object):
|
||||||
|
|
||||||
__slots__ = ['mwindow_size', 'search_path']
|
__slots__ = []
|
||||||
|
|
||||||
search_path = SearchPathList()
|
_search_path = SearchPathList()
|
||||||
|
|
||||||
|
@property
|
||||||
|
def search_path(self):
|
||||||
|
return self._search_path
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def mwindow_size(self):
|
def mwindow_size(self):
|
||||||
|
Reference in New Issue
Block a user