diff options
author | John Wiegley <johnw@newartisans.com> | 2010-06-19 16:06:15 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2010-06-19 16:06:15 -0400 |
commit | b819475a9346bedf31fd25e67dc2640ff6431141 (patch) | |
tree | c6712368662a4051f41d8cdd95f8cab5dfae9307 /test/RegressTests.py | |
parent | b589829646ececc31adadeb223435ccc2bb716c3 (diff) | |
download | fork-ledger-b819475a9346bedf31fd25e67dc2640ff6431141.tar.gz fork-ledger-b819475a9346bedf31fd25e67dc2640ff6431141.tar.bz2 fork-ledger-b819475a9346bedf31fd25e67dc2640ff6431141.zip |
Fix to the way simplified regressions tests are read
Diffstat (limited to 'test/RegressTests.py')
-rwxr-xr-x | test/RegressTests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/RegressTests.py b/test/RegressTests.py index 0472ac90..73a05d52 100755 --- a/test/RegressTests.py +++ b/test/RegressTests.py @@ -52,7 +52,7 @@ class RegressFile(object): def read_section(self): lines = [] line = self.fd.readline() - while not self.is_directive(line): + while line and not self.is_directive(line): lines.append(self.transform_line(line)) line = self.fd.readline() return (lines, line) |