Changeset 31:3fe2876fed61 in livinglogic.python.nightshade

Show
Ignore:
Timestamp:
09/08/06 12:29:08 (13 years ago)
Author:
Walter Doerwald <walter@…>
Branch:
default
Message:

Fix multiline statement.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/ll/nightshade.py

    r30 r31  
    176176    def _isbadoracleexception(self, exc): 
    177177        strexc = str(exc) 
    178         return "ORA-03113" in strexc or \ # end-of-file on communication channel 
    179                "ORA-03114" in strexc or \ # not connected to ORACLE 
    180                "ORA-03135" in strexc: # connection lost contact 
     178        return ("ORA-03113" in strexc or # end-of-file on communication channel 
     179                "ORA-03114" in strexc or # not connected to ORACLE 
     180                "ORA-03135" in strexc): # connection lost contact 
    181181 
    182182    def __call__(self, *args, **kwargs):