orca r3726 - in trunk/src/orca: . scripts



Author: wwalker
Date: Wed Mar 19 00:15:13 2008
New Revision: 3726
URL: http://svn.gnome.org/viewvc/orca?rev=3726&view=rev

Log:
pylint fixups


Modified:
   trunk/src/orca/default.py
   trunk/src/orca/scripts/planner.py

Modified: trunk/src/orca/default.py
==============================================================================
--- trunk/src/orca/default.py	(original)
+++ trunk/src/orca/default.py	Wed Mar 19 00:15:13 2008
@@ -3503,10 +3503,10 @@
                                            pyatspi.STATE_SELECTED)
                             announceState = (selected and event.detail1)
 
-                    if (keyString == "Down" or keyString == "Up") and \
-                       event.source.getRole() == pyatspi.ROLE_TABLE_CELL and \
-                       state.contains(pyatspi.STATE_SELECTED):
-                            announceState = True
+                    if (keyString == "Down" or keyString == "Up") \
+                       and event.source.getRole() == pyatspi.ROLE_TABLE_CELL \
+                       and state.contains(pyatspi.STATE_SELECTED):
+                        announceState = True
 
                 if announceState:
                     if event.detail1:

Modified: trunk/src/orca/scripts/planner.py
==============================================================================
--- trunk/src/orca/scripts/planner.py	(original)
+++ trunk/src/orca/scripts/planner.py	Wed Mar 19 00:15:13 2008
@@ -25,7 +25,6 @@
 __copyright__ = "Copyright (c) 2006-2007 Sun Microsystems Inc."
 __license__   = "LGPL"
 
-import orca.debug as debug
 import orca.default as default
 import orca.braille as braille
 import orca.settings as settings
@@ -82,7 +81,7 @@
             brailleindicatorindex = 0
 
         regions = []
-        indicator=\
+        indicator = \
             settings.brailleRadioButtonIndicators[brailleindicatorindex]
         componentRegion = braille.Component(obj, text, indicator=indicator)
         regions.append(componentRegion)



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