De-duplicate initialisation of ConnectionBase._connected (#79256)

The same value is unconditionally set 4 lines down.
pull/79274/head
Alex Willmer 2 years ago committed by GitHub
parent 65e725f08f
commit 6d9e2bc5e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -72,8 +72,6 @@ class ConnectionBase(AnsiblePlugin):
if not hasattr(self, '_display'): if not hasattr(self, '_display'):
# Backwards compat: self._display isn't really needed, just import the global display and use that. # Backwards compat: self._display isn't really needed, just import the global display and use that.
self._display = display self._display = display
if not hasattr(self, '_connected'):
self._connected = False
self.success_key = None self.success_key = None
self.prompt = None self.prompt = None

Loading…
Cancel
Save