aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2019-03-15 16:01:51 +0100
committerThomas White <taw@physics.org>2019-03-15 16:01:51 +0100
commitacd27b952ab2b0f11e23add58cf691bd4386ce99 (patch)
treeb38b29ea97dbbbc477139655a55b982cf7bd0beb /scripts
parent166b4db3ba9a323553d4a25eae76725d59eb1141 (diff)
extract-geom: Don't add extra newlines
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/extract-geom2
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()