Merge "Support empty ssh_key_filename from configuration"

This commit is contained in:
Zuul 2019-03-12 17:59:17 +00:00 committed by Gerrit Code Review
commit 5e50044176

View File

@ -80,7 +80,7 @@ class Gerrit(Rcs):
self.close()
def setup(self, **kwargs):
self.key_filename = kwargs.get('key_filename')
self.key_filename = kwargs.get('key_filename') or None
self.username = kwargs.get('username')
self.ssh_errors_limit = kwargs.get('gerrit_retry') or SSH_ERRORS_LIMIT