summaryrefslogtreecommitdiffstats
path: root/test/packaging
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2017-04-03 19:32:06 (GMT)
committerWilliam Deegan <bill@baddogconsulting.com>2017-04-03 19:32:06 (GMT)
commitdd360684403d6c19649da9bca19212fab65fec86 (patch)
tree0379e968c58de02142b2d6357aa4a63b8c47e0ff /test/packaging
parent7801b74049c575614aaf1e73e571abf44919c4bc (diff)
downloadSCons-dd360684403d6c19649da9bca19212fab65fec86.zip
SCons-dd360684403d6c19649da9bca19212fab65fec86.tar.gz
SCons-dd360684403d6c19649da9bca19212fab65fec86.tar.bz2
py2/3 mode=r fix
Diffstat (limited to 'test/packaging')
-rw-r--r--test/packaging/rpm/tagging.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/packaging/rpm/tagging.py b/test/packaging/rpm/tagging.py
index 3016274..a558242 100644
--- a/test/packaging/rpm/tagging.py
+++ b/test/packaging/rpm/tagging.py
@@ -96,7 +96,7 @@ test.fail_test( not os.popen('rpm -qpl %s' % machine_rpm).read()=='/bin/main\n')
test.fail_test( not os.popen('rpm -qpl %s' % src_rpm).read()=='foo-1.2.3.spec\nfoo-1.2.3.tar.gz\n')
expect = '(0755, root, users) /bin/main'
-test.must_contain_all_lines(test.read('foo-1.2.3.spec'), [expect])
+test.must_contain_all_lines(test.read('foo-1.2.3.spec',mode='r'), [expect])
test.pass_test()