diff options
author | Amjith Ramanujam <amjith.r@gmail.com> | 2015-01-07 00:10:56 -0800 |
---|---|---|
committer | Amjith Ramanujam <amjith.r@gmail.com> | 2015-01-07 00:10:56 -0800 |
commit | eed1931b3f77d5f9b4553ea41ebeeb3188d2a769 (patch) | |
tree | 0c6f37819d57f356e708b07462eaef2ed9114119 | |
parent | 25425c72c84f145b265e52c79835f489ea2e02ed (diff) |
Remove unassigned local var from logging.
-rw-r--r-- | pgcli/pgexecute.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pgcli/pgexecute.py b/pgcli/pgexecute.py index 2426882c..79624f27 100644 --- a/pgcli/pgexecute.py +++ b/pgcli/pgexecute.py @@ -94,7 +94,7 @@ class PGExecute(object): try: dbname = sql.split()[1] except: - _logger.debug('Failed to switch. DB missing: %r', dbname) + _logger.debug('Database name missing.') raise RuntimeError('Database name missing.') self.conn = psycopg2.connect(database=dbname, user=self.user, password=self.password, host=self.host, |