BIND 10 trac1404, updated. 6dd270220a4bac70fa4cd6a898e331b658fe0af2 [1404] typo

BIND 10 source code commits bind10-changes at lists.isc.org
Mon Nov 21 18:03:11 UTC 2011


The branch, trac1404 has been updated
       via  6dd270220a4bac70fa4cd6a898e331b658fe0af2 (commit)
       via  1bb5168b7014a83690d1bb363dbcc0fa6d8fd7f1 (commit)
      from  4d3aef6a83965e26781d6b74f0ff913926845c7c (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 6dd270220a4bac70fa4cd6a898e331b658fe0af2
Author: JINMEI Tatuya <jinmei at isc.org>
Date:   Mon Nov 21 10:03:05 2011 -0800

    [1404] typo

commit 1bb5168b7014a83690d1bb363dbcc0fa6d8fd7f1
Author: JINMEI Tatuya <jinmei at isc.org>
Date:   Mon Nov 21 10:02:43 2011 -0800

    [1404] don't do anything if the DB doesn't exist

-----------------------------------------------------------------------

Summary of changes:
 compatcheck/sqlite3-difftbl-check.py.in |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

-----------------------------------------------------------------------
diff --git a/compatcheck/sqlite3-difftbl-check.py.in b/compatcheck/sqlite3-difftbl-check.py.in
index 7a5d991..7c28894 100755
--- a/compatcheck/sqlite3-difftbl-check.py.in
+++ b/compatcheck/sqlite3-difftbl-check.py.in
@@ -28,6 +28,11 @@ if len(args) == 0:
     parser.error('missing argument')
 
 db_file = args[0]
+
+# If the file doesn't exist, there's nothing to do
+if not os.path.exists(db_file):
+    sys.exit(0)
+
 conn = sqlite3.connect(db_file)
 cur = conn.cursor()
 try:
@@ -50,6 +55,6 @@ except sqlite3.OperationalError as ex:
                              db_file + '\n' + "Peform '" + os.getcwd() +
                              "/sqlite3-difftbl-check.py --upgrade " +
                              db_file + "'\n" +
-                             'before continueing install.\n')
+                             'before continuing install.\n')
             sys.exit(1)
 conn.close()




More information about the bind10-changes mailing list