[cig-commits] commit: fix undeclared option in obsres.py.

Mercurial hg at geodynamics.org
Wed Jun 5 22:08:16 PDT 2013


changeset:   205:f7b5f1f16a60
tag:         tip
user:        Sylvain Barbot <sbarbot at ntu.edu.sg>
date:        Thu Jun 06 13:08:04 2013 +0800
files:       util/obsres.py
description:
fix undeclared option in obsres.py.


diff -r 8afab31fef81 -r f7b5f1f16a60 util/obsres.py
--- a/util/obsres.py	Wed May 15 12:05:16 2013 +0800
+++ b/util/obsres.py	Thu Jun 06 13:08:04 2013 +0800
@@ -44,7 +44,7 @@
     isvscale=False
  
     try:
-        opts, args = getopt.getopt(sys.argv[1:], "hb:d:n:r:w:", ["help","bounds=","ddir=","network=","relax","range=","weight="])
+        opts, args = getopt.getopt(sys.argv[1:], "hb:d:n:r:w:", ["help","bounds=","ddir=","network=","relax","range=","vscale=","weight="])
     except getopt.GetoptError, err:
         # print help information and exit:
         print >> sys.stderr, 'obsres.py:', str(err) # will print something like "option -a not recognized"



More information about the CIG-COMMITS mailing list