We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c8d8798 + 77f98ce commit c27332bCopy full SHA for c27332b
datajoint/errors.py
@@ -14,7 +14,7 @@ def suggest(self, *args):
14
:param args: addition arguments
15
:return: a new exception of the same type with the additional arguments
16
"""
17
- return self.__class__(*self.args, *args)
+ return self.__class__(*(self.args + args))
18
19
20
# --- Second Level ---
tests/__init__.py
@@ -116,7 +116,7 @@ def setup_package():
116
db_name = "djtest_blob_migrate"
117
db_file = "v0_11.sql"
118
conn_root.query("""
119
- CREATE DATABASE {};
+ CREATE DATABASE IF NOT EXISTS {};
120
""".format(db_name))
121
122
statements = parse_sql('{}/{}'.format(source, db_file))
0 commit comments