[segyio] 150/376: Send list to ' '.join

Jørgen Kvalsvik jokva-guest at moszumanska.debian.org
Wed Sep 20 08:04:23 UTC 2017


This is an automated email from the git hooks/post-receive script.

jokva-guest pushed a commit to branch debian
in repository segyio.

commit 41c7b89be1d5a926bafb3e8b095aa322405d8ce0
Author: Jørgen Kvalsvik <jokva at statoil.com>
Date:   Mon Dec 5 16:17:50 2016 +0100

    Send list to ' '.join
---
 examples/make-ps-file.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/examples/make-ps-file.py b/examples/make-ps-file.py
index cbfab05..0fed619 100644
--- a/examples/make-ps-file.py
+++ b/examples/make-ps-file.py
@@ -5,10 +5,10 @@ import segyio
 
 def main():
     if len(sys.argv) < 9:
-        sys.exit(" ".join( "Usage: {} [file] [samples]",
+        sys.exit(" ".join(["Usage: {} [file] [samples]",
                            "[first iline] [last iline]",
                            "[first xline] [last xline]",
-                           "([first offset] [last offset])"
+                           "[first offset] [last offset]"]
                          ).format(sys.argv[0]))
 
     spec = segyio.spec()

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/segyio.git



More information about the debian-science-commits mailing list