Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src/jarabe/controlpanel
diff options
context:
space:
mode:
Diffstat (limited to 'src/jarabe/controlpanel')
-rw-r--r--src/jarabe/controlpanel/cmd.py3
-rw-r--r--src/jarabe/controlpanel/gui.py2
2 files changed, 4 insertions, 1 deletions
diff --git a/src/jarabe/controlpanel/cmd.py b/src/jarabe/controlpanel/cmd.py
index 12de1e2..5f2de68 100644
--- a/src/jarabe/controlpanel/cmd.py
+++ b/src/jarabe/controlpanel/cmd.py
@@ -105,6 +105,9 @@ def main():
for method in methods:
if method.startswith('get_'):
print ' %s' % method[4:]
+ elif method.startswith('clear_'):
+ print " %s (use the -c argument with this option)" \
+ % method[6:]
if option in ("-g"):
for module in modules:
method = getattr(module, 'print_' + key, None)
diff --git a/src/jarabe/controlpanel/gui.py b/src/jarabe/controlpanel/gui.py
index 33d0aff..39f9c4a 100644
--- a/src/jarabe/controlpanel/gui.py
+++ b/src/jarabe/controlpanel/gui.py
@@ -357,7 +357,7 @@ class ModelWrapper(object):
try:
method(self._options[key])
except Exception, detail:
- _logger.debug('Error undo option: %s' % detail)
+ _logger.debug('Error undo option: %s', detail)
class _SectionIcon(gtk.EventBox):
__gtype_name__ = "SugarSectionIcon"