Ticket #243: file_io.diff

File file_io.diff, 418 bytes (added by madmonk, 10 years ago)

Quick fix

  • file_io.py

    old new  
    530530                found = min( [ pos for pos in punctuation if pos != -1 ] )
    531531                name= propDef[:found].rstrip()
    532532                value= propDef[found:].lstrip(":= ").rstrip()
    533                 propDict[name]= value
     533                if name not in propDict:
     534                        propDict[name]= value
    534535        propFile.close()
    535536        return propDict
    536537