func tests: Drop clone_conn arg to Connection
We never use it, may as well get rid of it. Change-Id: I0d860e6fdc20afb6baf28d0269dcbda21cee0ac7
This commit is contained in:
1 changed files with 1 additions and 8 deletions
@@ -131,14 +131,7 @@ class Connection(object):
def get_account(self):
return Account(self, self.account)
def authenticate(self, clone_conn=None):
if clone_conn:
self.conn_class = clone_conn.conn_class
self.storage_netloc = clone_conn.storage_netloc
self.storage_url = clone_conn.storage_url
self.storage_token = clone_conn.storage_token
return
def authenticate(self):
if self.auth_version == "1":
auth_path = '%sv1.0' % (self.auth_prefix)
if self.account:
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.