[svn] commit: r1079 - /trunk/src/lib/dns/cpp/tests/testdata/gen-wiredata.py.in

BIND 10 source code commits bind10-changes at lists.isc.org
Tue Mar 2 23:19:09 UTC 2010


Author: jinmei
Date: Tue Mar  2 23:19:08 2010
New Revision: 1079

Log:
fixed a parameter error

Modified:
    trunk/src/lib/dns/cpp/tests/testdata/gen-wiredata.py.in

Modified: trunk/src/lib/dns/cpp/tests/testdata/gen-wiredata.py.in
==============================================================================
--- trunk/src/lib/dns/cpp/tests/testdata/gen-wiredata.py.in (original)
+++ trunk/src/lib/dns/cpp/tests/testdata/gen-wiredata.py.in Tue Mar  2 23:19:08 2010
@@ -218,7 +218,7 @@
 
     outputfile = options.output
     if not outputfile:
-        m = re.match('(.*)\.[^.]+$', sys.argv[1])
+        m = re.match('(.*)\.[^.]+$', configfile)
         if m:
             outputfile = m.group(1)
         else:




More information about the bind10-changes mailing list