[Sugar-devel] [PATCH] fix trivial typo in extension loading exception

James Cameron quozl at laptop.org
Mon May 31 21:27:02 EDT 2010


Discovered in shell logs of os240py, this exception was triggered due
to the yet to be merged touchpad control panel extension.  But the
exception used incorrect grammar.

Reverts part of a change by Tomeu in 77575b4 in 2008-10.
---
 src/jarabe/controlpanel/gui.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/jarabe/controlpanel/gui.py b/src/jarabe/controlpanel/gui.py
index 51d9820..0ec70d3 100644
--- a/src/jarabe/controlpanel/gui.py
+++ b/src/jarabe/controlpanel/gui.py
@@ -259,7 +259,7 @@ class ControlPanel(gtk.Window):
                             keywords.append(item)
                         options[item]['keywords'] = keywords
                     else:
-                        _logger.error('There is no CLASS constant specifieds ' \
+                        _logger.error('There is no CLASS constant specified ' \
                                           'in the view file \'%s\'.' % item)
                 except Exception:
                     logging.error('Exception while loading extension:\n' + \
-- 
1.7.1



More information about the Sugar-devel mailing list