diff options
author | bionel <ionel.busuioc@gmail.com> | 2017-09-20 22:26:38 +0300 |
---|---|---|
committer | bionel <ionel.busuioc@gmail.com> | 2017-09-20 22:26:38 +0300 |
commit | 5bb51c95c6a6a45592313c575e4d68aa1504665d (patch) | |
tree | 900987612f5f5ee65c8b0a44a903d572457783fe /src | |
parent | d07d6aeb724100bca26acb7606bbbc0d5d90b26a (diff) |
remove comments
Diffstat (limited to 'src')
-rwxr-xr-x | src/frontend/gui/sisyphus-gui.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/frontend/gui/sisyphus-gui.py b/src/frontend/gui/sisyphus-gui.py index a33e3c8..16a7323 100755 --- a/src/frontend/gui/sisyphus-gui.py +++ b/src/frontend/gui/sisyphus-gui.py @@ -19,7 +19,7 @@ class Sisyphus(QtWidgets.QMainWindow): ('Description', 'descr') ]) self.selectfield.addItems(self.SEARCHFIELDS.keys()) - self.selectfield.setCurrentIndex(1) # defaults to package name + self.selectfield.setCurrentIndex(1) self.selectfield.currentIndexChanged.connect(self.setSearchField) self.SEARCHFILTERS = OrderedDict ([ @@ -30,12 +30,12 @@ class Sisyphus(QtWidgets.QMainWindow): ('Downgradable', 'AND iv > av') ]) self.selectfilter.addItems(self.SEARCHFILTERS.keys()) - self.selectfilter.setCurrentIndex(0) # defaults to package name + self.selectfilter.setCurrentIndex(0) self.selectfilter.currentIndexChanged.connect(self.setSearchFilter) - Sisyphus.SEARCHTERM = "'%%'" # defaults to all - Sisyphus.SEARCHFIELD = self.SEARCHFIELDS['Name'] # defaults to package name - Sisyphus.SEARCHFILTER = self.SEARCHFILTERS['All'] # defaults to any + Sisyphus.SEARCHTERM = "'%%'" + Sisyphus.SEARCHFIELD = self.SEARCHFIELDS['Name'] + Sisyphus.SEARCHFILTER = self.SEARCHFILTERS['All'] self.loadDatabase(Sisyphus.SEARCHFIELD,Sisyphus.SEARCHTERM,Sisyphus.SEARCHFILTER) self.input.textEdited.connect(self.filterDatabase) |