]> granicus.if.org Git - python/commitdiff
Cosmetic
authorBarry Warsaw <barry@python.org>
Tue, 10 Mar 1998 00:16:09 +0000 (00:16 +0000)
committerBarry Warsaw <barry@python.org>
Tue, 10 Mar 1998 00:16:09 +0000 (00:16 +0000)
Tools/pynche/ChipViewer.py

index f1429fd6106d28a08aac96eecec2469f9a8086ec..a2a90347c44230c498d50945adf5ff13097f7cc6 100644 (file)
@@ -22,13 +22,13 @@ class ChipWidget(Pmw.MegaWidget):
     _HEIGHT = 80
 
     def __init__(self, parent=None, **kw):
-       optionsdefs = (('chip_borderwidth', 2,            None),
-                      ('chip_width',       self._WIDTH,  None),
-                      ('chip_height',      self._HEIGHT, None),
-                      ('label_text',       'Color',      None),
-                      ('color',            'blue',       self.__set_color),
-                      )
-       self.defineoptions(kw, optionsdefs)
+       options = (('chip_borderwidth', 2,            None),
+                  ('chip_width',       self._WIDTH,  None),
+                  ('chip_height',      self._HEIGHT, None),
+                  ('label_text',       'Color',      None),
+                  ('color',            'blue',       self.__set_color),
+                  )
+       self.defineoptions(kw, options)
 
        # initialize base class -- after defining options
        Pmw.MegaWidget.__init__(self, parent)