Changeset 2191

Show
Ignore:
Timestamp:
07/07/08 02:09:57 (6 months ago)
Author:
bzr
Message:

sapi4activeVoice synth driver: cosmetic: Using .join to concatenate two strings is a bit weird.

Location:
trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk

    • Property bzr:revision-id:v3-list-QlpoOTFBWSZTWbrL2vUAAB1VgAAQABCAQDrrnqAgAFCgaaGRkxBoTIJ6mmaNRwhndFAoNhZjh_YY4a01fOg1ulgNNC2UrzPdXXEnDpX8XckU4UJC6y9r1A..
      •  

        old new  
        1341341985 jamie@jantrid.net-20080703122649-na0jn8xd6aphnxvn 
        1351351988 jamie@jantrid.net-20080704015411-mryr3lc3ygqg4jc4 
         1361995 jamie@jantrid.net-20080707020819-hnuxgzh8brekfz3u 
    • Property bzr:revision-info
      •  

        old new  
        1 timestamp: 2008-07-04 11:54:11.062000036 +1000 
         1timestamp: 2008-07-07 12:08:19.447000027 +1000 
        22committer: James Teh <jamie@jantrid.net> 
        33properties:  
        44        branch-nick: main 
        5         rebase-of: jamie@jantrid.net-20080704015411-en6mpbo58m9m6qaa 
  • trunk/source/synthDrivers/sapi4activeVoice.py

    r2177 r2191  
    122122                text=text.replace("\\","\\\\") 
    123123                if isinstance(index,int) and index>=0: 
    124                         text="".join(["\\mrk=%d\\"%(index+1),text]) 
     124                        text="\\mrk=%d\\%s"%(index+1,text) 
    125125                self.tts.speak(text) 
    126126