Disable pylint maybe-no-member in TabWidget._init_config

This commit is contained in:
Florian Bruhin 2014-02-13 09:00:07 +01:00
parent 5b0e24b799
commit 963b90ae74

View File

@ -81,6 +81,7 @@ class TabWidget(QTabWidget):
'right': QTabBar.SelectRightTab,
'previous': QTabBar.SelectPreviousTab,
}
# pylint: disable=maybe-no-member
self.setMovable(config.config.getboolean('tabbar', 'movable'))
self.setTabsClosable(config.config.getboolean('tabbar',
'closebuttons'))