diff options
author | Martin v. L?wis <martin@v.loewis.de> | 2012-08-23 09:47:38 +0200 |
---|---|---|
committer | Martin v. L?wis <martin@v.loewis.de> | 2012-08-23 09:47:38 +0200 |
commit | fe8cee82fbd8ba7e1bc19c0d3dce043bf981ac04 (patch) | |
tree | 7076221698d98fcbe45e18dca4242c14d377049c /store.py | |
parent | c775eeb2d4a849e929e1b58957f41eaa07889393 (diff) | |
download | decorator-fe8cee82fbd8ba7e1bc19c0d3dce043bf981ac04.tar.gz |
Add DB host parameter.
Diffstat (limited to 'store.py')
-rw-r--r-- | store.py | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -2043,6 +2043,8 @@ class Store: cd = dict(database=self.config.database_name, user=self.config.database_user) if self.config.database_pw: cd['password'] = self.config.database_pw + if self.config.database_host: + cd['host'] = self.config.database_host if keep_conn and connection: self._conn = connection # Rollback any uncommitted earlier change |