@@ -64,7 +64,7 @@ def longOut(name, DRVL=None, DRVH=None, EGU=None, **fields):
6464 'EI' , 'NI' , 'TE' , 'EL' , 'TV' , 'TT' , 'FT' , 'FF' ] # 8-15
6565
6666# All the severity strings supported by <prefix>SV
67- _severityStrings = [" NO_ALARM" , " MINOR" , " MAJOR" , " INVALID" ]
67+ _severityStrings = [' NO_ALARM' , ' MINOR' , ' MAJOR' , ' INVALID' ]
6868
6969# Converts a list of (option [,severity]) values or tuples into field settings
7070# suitable for mbbi and mbbo records.
@@ -78,7 +78,7 @@ def process_value(prefix, value, option, severity=None):
7878 severity = _severityStrings [severity ]
7979 fields [prefix + 'SV' ] = severity
8080 # zip() silently ignores extra values in options, so explicitly check length
81- assert len (options ) <= 16 , " May not specify more than 16 enum values"
81+ assert len (options ) <= 16 , ' May not specify more than 16 enum values'
8282 for prefix , (value , option ) in zip (_mbbPrefixes , enumerate (options )):
8383 if isinstance (option , tuple ):
8484 # The option is tuple consisting of the option name and an optional
0 commit comments