Commit 83dc2327 authored by Barry Warsaw's avatar Barry Warsaw

Fix a typo, update (only one) style improvement, whitespace

normalization.
parent 54f09490
...@@ -7,7 +7,7 @@ conform to the following interface: ...@@ -7,7 +7,7 @@ conform to the following interface:
arguments; the red, green, and blue values of the selected color. arguments; the red, green, and blue values of the selected color.
- When a Viewer selects a color and wishes to update all other Views, it - When a Viewer selects a color and wishes to update all other Views, it
should call update_views() on the Switchboard object. Not that the should call update_views() on the Switchboard object. Note that the
Viewer typically does *not* update itself before calling update_views(), Viewer typically does *not* update itself before calling update_views(),
since this would cause it to get updated twice. since this would cause it to get updated twice.
...@@ -64,7 +64,7 @@ class Switchboard: ...@@ -64,7 +64,7 @@ class Switchboard:
try: try:
fp = open(initfile) fp = open(initfile)
self.__optiondb = marshal.load(fp) self.__optiondb = marshal.load(fp)
if type(self.__optiondb) <> DictType: if not isinstance(self.__optiondb, DictType):
print >> sys.stderr, \ print >> sys.stderr, \
'Problem reading options from file:', initfile 'Problem reading options from file:', initfile
self.__optiondb = {} self.__optiondb = {}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment