diff options
author | Thomas White <taw@physics.org> | 2019-03-15 16:01:51 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2019-03-15 16:01:51 +0100 |
commit | acd27b952ab2b0f11e23add58cf691bd4386ce99 (patch) | |
tree | b38b29ea97dbbbc477139655a55b982cf7bd0beb /scripts/extract-geom | |
parent | 166b4db3ba9a323553d4a25eae76725d59eb1141 (diff) |
extract-geom: Don't add extra newlines
Diffstat (limited to 'scripts/extract-geom')
-rwxr-xr-x | scripts/extract-geom | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/extract-geom b/scripts/extract-geom index 13f7ac2e..a5d42057 100755 --- a/scripts/extract-geom +++ b/scripts/extract-geom @@ -8,6 +8,6 @@ with open(sys.argv[1]) as f: s = f.readline() s = f.readline() while "End geometry file" not in s: - print(s), + print(s.rstrip("\r\n")), s = f.readline() |