diff options
author | David Pursehouse <david.pursehouse@sonymobile.com> | 2014-10-27 14:46:48 +0900 |
---|---|---|
committer | David Pursehouse <david.pursehouse@sonymobile.com> | 2014-10-27 15:03:43 +0900 |
commit | a8df1d9dfe66ec831bbff6f8d194494c866e2c4b (patch) | |
tree | 216a2e2df1f78602e5a8c9ba8b3b7d6b2bb23346 /pygerrit/ssh.py | |
parent | 613c7b2dd28e95d8dd78182d36eaf36760ea58b1 (diff) | |
download | pygerrit-a8df1d9dfe66ec831bbff6f8d194494c866e2c4b.tar.gz |
Bump pep8 to 1.5.7
And fix a couple of newly discovered warnings.
Change-Id: I835d16ed94f2e20f003a2aa0b0370483d02e7926
Diffstat (limited to 'pygerrit/ssh.py')
-rw-r--r-- | pygerrit/ssh.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pygerrit/ssh.py b/pygerrit/ssh.py index 3ffa97b..2955094 100644 --- a/pygerrit/ssh.py +++ b/pygerrit/ssh.py @@ -89,7 +89,7 @@ class GerritSSHClient(SSHClient): data = config.lookup(self.hostname) if not data: raise GerritError("No ssh config for host %s" % self.hostname) - if not 'hostname' in data or not 'port' in data or not 'user' in data: + if 'hostname' not in data or 'port' not in data or 'user' not in data: raise GerritError("Missing configuration data in %s" % configfile) self.hostname = data['hostname'] self.username = data['user'] |