[orca/570658-whereami] Pylinting (some lines were too long)



commit 64fb0b7c99370b849ed11d1270a0ca95287aaa1a
Author: Willie Walker <william walker sun com>
Date:   Wed Jun 3 11:58:55 2009 -0400

    Pylinting (some lines were too long)
---
 src/orca/tutorialgenerator.py |   21 ++++++++++++++-------
 1 files changed, 14 insertions(+), 7 deletions(-)

diff --git a/src/orca/tutorialgenerator.py b/src/orca/tutorialgenerator.py
index 8da5dc6..e958182 100644
--- a/src/orca/tutorialgenerator.py
+++ b/src/orca/tutorialgenerator.py
@@ -157,7 +157,8 @@ class TutorialGenerator:
         # Translators: this is a tip for the user on how to toggle a checkbox.
         msg = _("Press space to toggle.")
 
-        if (not already_focused and self.lastTutorial != [msg]) or forceTutorial:
+        if (not already_focused and self.lastTutorial != [msg]) \
+           or forceTutorial:
             utterances.append(msg)
 
         self._debugGenerator("_getTutorialForCheckBox",
@@ -183,7 +184,8 @@ class TutorialGenerator:
         # with a combobox.
         msg = _("Press space to expand, and use up and down to select an item.")
 
-        if (not already_focused and self.lastTutorial != [msg]) or forceTutorial:
+        if (not already_focused and self.lastTutorial != [msg]) \
+           or forceTutorial:
             utterances.append(msg)
 
         self._debugGenerator("_getTutorialForComboBox",
@@ -314,7 +316,8 @@ class TutorialGenerator:
         # Translators: this is the tutorial string when navigating lists.
         msg = _("Use up and down to select an item.")
 
-        if (not already_focused and self.lastTutorial != [msg]) or forceTutorial:
+        if (not already_focused and self.lastTutorial != [msg]) \
+           or forceTutorial:
             utterances.append(msg)
 
         self._debugGenerator("_getTutorialForList",
@@ -434,7 +437,8 @@ class TutorialGenerator:
         # Translators: this is the tutorial string for activating a push button.
         msg = _("To activate press space.")
 
-        if (not already_focused and self.lastTutorial != [msg]) or forceTutorial:
+        if (not already_focused and self.lastTutorial != [msg]) \
+           or forceTutorial:
             utterances.append(msg)
 
         self._debugGenerator("_getTutorialForPushButton",
@@ -462,7 +466,8 @@ class TutorialGenerator:
         msg = _("Use up or down arrow to select value." \
               " Or type in the desired numerical value.")
 
-        if (not already_focused and self.lastTutorial != [msg]) or forceTutorial:
+        if (not already_focused and self.lastTutorial != [msg]) \
+           or forceTutorial:
             utterances.append(msg)
 
         self._debugGenerator("_getTutorialForSpinButton",
@@ -648,7 +653,8 @@ class TutorialGenerator:
         # Translators: this is a tip for the user, how to navigate radiobuttons.
         msg = _("Use arrow keys to change.")
 
-        if (not already_focused and self.lastTutorial != [msg]) or forceTutorial:
+        if (not already_focused and self.lastTutorial != [msg]) \
+           or forceTutorial:
             utterances.append(msg)
 
         self._debugGenerator("_getTutorialForRadioButton",
@@ -710,7 +716,8 @@ class TutorialGenerator:
         msg = _("To decrease press left arrow, to increase press right arrow." \
           " To go to minimum press home, and for maximum press end.")
 
-        if (not already_focused and self.lastTutorial != [msg]) or forceTutorial:
+        if (not already_focused and self.lastTutorial != [msg]) \
+           or forceTutorial:
             utterances.append(msg)
 
         self._debugGenerator("_getTutorialForSlider",



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