Changeset: ee1c3d53f53e for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=ee1c3d53f53e
Removed Files:
        sql/test/emptydb/Tests/dump.sql
Modified Files:
        sql/test/emptydb/Tests/dump.SQL.py
Branch: mtest
Log Message:

Cleanup.


diffs (23 lines):

diff --git a/sql/test/emptydb/Tests/dump.SQL.py 
b/sql/test/emptydb/Tests/dump.SQL.py
--- a/sql/test/emptydb/Tests/dump.SQL.py
+++ b/sql/test/emptydb/Tests/dump.SQL.py
@@ -1,4 +1,3 @@
-import os, sys, re
 try:
     from MonetDBtesting import process
 except ImportError:
@@ -7,7 +6,7 @@ except ImportError:
 with process.client('sqldump', stdout=process.PIPE, stderr=process.PIPE) as c:
     out, err = c.communicate()
 
-for line in out.split('\n'):
+for line in out.splitlines():
     if line.startswith('--') or not line:
         continue
     if line != 'START TRANSACTION;' and line != 'COMMIT;':
diff --git a/sql/test/emptydb/Tests/dump.sql b/sql/test/emptydb/Tests/dump.sql
deleted file mode 100644
--- a/sql/test/emptydb/Tests/dump.sql
+++ /dev/null
@@ -1,1 +0,0 @@
-\D
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to