[orca] Nit removal



commit 6d88358babc4434cb5e7279f851a40679d10eec8
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Mon May 21 22:46:50 2012 -0400

    Nit removal

 src/orca/orca_bin.py.in |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/orca/orca_bin.py.in b/src/orca/orca_bin.py.in
index 5e6fe38..e66f2f6 100644
--- a/src/orca/orca_bin.py.in
+++ b/src/orca/orca_bin.py.in
@@ -69,11 +69,11 @@ class Settings(argparse.Action):
                     test = 'show%s' % item
                     eval('settings.%s' % test)
                 except AttributeError:
-                    invalid.append(item)
+                    invalid.append(value)
                     continue
             settingsDict[test] = self.const
-            setattr(namespace, 'settings', settingsDict)
-            setattr(namespace, 'invalid', invalid)
+        setattr(namespace, 'settings', settingsDict)
+        setattr(namespace, 'invalid', invalid)
 
 class HelpFormatter(argparse.HelpFormatter):
     def __init__(self, prog, indent_increment=2, max_help_position=32,
@@ -164,7 +164,7 @@ class Parser(argparse.ArgumentParser):
             # location from which to loadr the user preferences.
             help=_("Use alternate directory for user preferences"),
             # Translators: this string indicates to the user what should be
-            # provided when using the 'u, --user-prefs' command line option.
+            # provided when using the '-u, --user-prefs' command line option.
             metavar=_("DIR"))
 
         self.add_argument(



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]