Skip to content

Commit

Permalink
Fix CI (#536)
Browse files Browse the repository at this point in the history
  • Loading branch information
koszti authored Sep 23, 2020
1 parent 4284fca commit 0fa08e7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ make_virtualenv() {
PIP_ARGS=$PIP_ARGS"[test]"
fi

python3 -m pip install --upgrade -e .$PIP_ARGS
python3 -m pip install --upgrade -e .$PIP_ARGS --use-feature=2020-resolver
fi

echo ""
Expand Down
4 changes: 2 additions & 2 deletions pipelinewise/fastsync/commons/tap_postgres.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,10 @@ def open_connection(self):
self.connection_config.get('replica_user', self.connection_config['user']),
self.connection_config.get('replica_password', self.connection_config['password']),
self.connection_config['dbname'])

if 'ssl' in self.connection_config and self.connection_config['ssl'] == 'true':
conn_string += " sslmode='require'"

self.conn = psycopg2.connect(conn_string)
# Set connection to autocommit
self.conn.autocommit = True
Expand Down
2 changes: 1 addition & 1 deletion pipelinewise/fastsync/commons/target_postgres.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def open_connection(self):
self.connection_config['password'],
self.connection_config['port']
)

if 'ssl' in self.connection_config and self.connection_config['ssl'] == 'true':
conn_string += " sslmode='require'"

Expand Down

0 comments on commit 0fa08e7

Please sign in to comment.