Skip to content

Commit 31ac518

Browse files
committed
Cosmetic
1 parent 520f8bd commit 31ac518

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

Tools/pynche/ChipViewer.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@ class ChipWidget(Pmw.MegaWidget):
2222
_HEIGHT = 80
2323

2424
def __init__(self, parent=None, **kw):
25-
optionsdefs = (('chip_borderwidth', 2, None),
26-
('chip_width', self._WIDTH, None),
27-
('chip_height', self._HEIGHT, None),
28-
('label_text', 'Color', None),
29-
('color', 'blue', self.__set_color),
30-
)
31-
self.defineoptions(kw, optionsdefs)
25+
options = (('chip_borderwidth', 2, None),
26+
('chip_width', self._WIDTH, None),
27+
('chip_height', self._HEIGHT, None),
28+
('label_text', 'Color', None),
29+
('color', 'blue', self.__set_color),
30+
)
31+
self.defineoptions(kw, options)
3232

3333
# initialize base class -- after defining options
3434
Pmw.MegaWidget.__init__(self, parent)

0 commit comments

Comments
 (0)