Skip to content

Commit

Permalink
made config a hidden attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
James McGuinness committed Aug 7, 2013
1 parent 3e9bdf3 commit 92eba4b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tron/ssh.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class SSHAuthOptions(object):
def __init__(self, identitys, use_agent, config):
self.use_agent = use_agent
self.identitys = identitys
self.config = config
self._config = config

@classmethod
def from_config(cls, ssh_config):
Expand All @@ -40,7 +40,7 @@ def __getitem__(self, item):
return not self.use_agent

def __eq__(self, other):
return other and other.config == self.config
return other and other._config == self._config

def __ne__(self, other):
return not self == other
Expand Down

0 comments on commit 92eba4b

Please sign in to comment.