Changeset 1078 in tailor for vcpx/darcs.py


Ignore:
Timestamp:
03/17/06 23:44:22 (7 years ago)
Author:
lele@…
Hash name:
20060317224422-97f81-381eda80d0403e4a9a56d94cb26dbf6961a2d9a8
Message:

Add a maybe useless newline after the last entry of the boring file

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vcpx/darcs.py

    r1071 r1078  
    518518 
    519519            boring = open(boringname, 'rU') 
    520             ignored = boring.read().split('\n') 
     520            ignored = boring.read().rstrip().split('\n') 
    521521            boring.close() 
    522522 
     
    542542            boring = open(boringname, 'wU') 
    543543            boring.write('\n'.join(ignored)) 
     544            boring.write('\n') 
    544545            boring.close() 
    545546        else: 
    546547            boring = open(boringname, 'rU') 
    547             ignored = boring.read().split('\n') 
     548            ignored = boring.read().rstrip().split('\n') 
    548549            boring.close() 
    549550 
Note: See TracChangeset for help on using the changeset viewer.