Parcourir la source

[963] Minor whitespace fixes

Michal 'vorner' Vaner il y a 13 ans
Parent
commit
181d405a1e
2 fichiers modifiés avec 4 ajouts et 4 suppressions
  1. 2 2
      src/bin/dbutil/dbutil.py.in
  2. 2 2
      src/bin/dbutil/tests/dbutil_test.sh.in

+ 2 - 2
src/bin/dbutil/dbutil.py.in

@@ -78,7 +78,7 @@ upgrades = [
             # Move to the latest "V1" state of the database if not there
             # already.
             "CREATE TABLE IF NOT EXISTS diffs (" +
-                "id INTEGER PRIMARY KEY, " + 
+                "id INTEGER PRIMARY KEY, " +
                 "zone_id INTEGER NOT NULL," +
                 "version INTEGER NOT NULL, " +
                 "operation INTEGER NOT NULL, " +
@@ -419,7 +419,7 @@ def get_version(db):
 def match_version(db, expected):
     """
     @brief Check database version against that expected
-    
+
     Checks whether the version of the database matches that expected for
     the upgrade.  Both the major and minor versions must match.
 

+ 2 - 2
src/bin/dbutil/tests/dbutil_test.sh.in

@@ -287,12 +287,12 @@ rm -f $tempfile $backupfile
 
 echo "3.1. Database is not an SQLite file - check"
 echo "This is not an sqlite3 database" > $tempfile
-../run_dbutil.sh --check $tempfile 
+../run_dbutil.sh --check $tempfile
 failzero $?
 check_no_backup $tempfile $backupfile
 
 echo "3.2. Database is not an SQLite file - upgrade"
-../run_dbutil.sh --upgrade --noconfirm $tempfile 
+../run_dbutil.sh --upgrade --noconfirm $tempfile
 failzero $?
 # ...and as before, a backup should have been created
 check_backup $tempfile $backupfile