diff options
Diffstat (limited to 'test/srcchange.py')
-rw-r--r-- | test/srcchange.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/srcchange.py b/test/srcchange.py index 0b56442..6cda3dd 100644 --- a/test/srcchange.py +++ b/test/srcchange.py @@ -53,10 +53,10 @@ import re import string def subrevision(target, source ,env): - orig = target[0].get_contents() + orig = target[0].get_text_contents() new = re.sub('\$REV.*?\$', - '$REV: %%s$'%%string.strip(source[0].get_contents()), - target[0].get_contents()) + '$REV: %%s$'%%string.strip(source[0].get_text_contents()), + target[0].get_text_contents()) outf = open(str(target[0]),'wb') outf.write(new) outf.close() |