Skip to content

Commit 6071b03

Browse files
authored
Merge pull request #169 from kimmom/master
fix wheres -> where_clauses
2 parents c8fdf1b + 0c91087 commit 6071b03

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clickhouse_mysql/tablemigrator.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,9 +107,9 @@ def __init__(
107107
self.where_clauses[db] = {}
108108

109109
if os.path.isfile(where_file_name):
110-
self.wheres[db][table] = open(where_file_name, 'r').read().strip("\n")
110+
self.where_clauses[db][table] = open(where_file_name, 'r').read().strip("\n")
111111
else:
112-
self.wheres[db][table] = where_file_name
112+
self.where_clauses[db][table] = where_file_name
113113

114114
# debug info
115115
logging.info("migration where clauses")

0 commit comments

Comments
 (0)