Remove commented function
This commit is contained in:
parent
a0256faa4e
commit
5dcf8a2f70
|
@ -192,19 +192,6 @@ class _Network(object):
|
||||||
self.session_key = sk_gen.get_session_key(
|
self.session_key = sk_gen.get_session_key(
|
||||||
self.username, self.password_hash)
|
self.username, self.password_hash)
|
||||||
|
|
||||||
"""def __repr__(self):
|
|
||||||
attributes = ("name", "homepage", "ws_server", "api_key", "api_secret",
|
|
||||||
"session_key", "submission_server", "username", "password_hash",
|
|
||||||
"domain_names", "urls")
|
|
||||||
|
|
||||||
text = "pylast._Network(%s)"
|
|
||||||
args = []
|
|
||||||
for attr in attributes:
|
|
||||||
args.append("=".join((attr, repr(getattr(self, attr)))))
|
|
||||||
|
|
||||||
return text % ", ".join(args)
|
|
||||||
"""
|
|
||||||
|
|
||||||
def __str__(self):
|
def __str__(self):
|
||||||
return "%s Network" % self.name
|
return "%s Network" % self.name
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue