code cleanup: removed node.print_files function
This commit is contained in:
parent
a35f44da85
commit
897eb69c00
@ -279,13 +279,6 @@ class Node(object):
|
|||||||
result[f] = s
|
result[f] = s
|
||||||
return result
|
return result
|
||||||
|
|
||||||
def print_files(self):
|
|
||||||
for k in self.files.keys():
|
|
||||||
print('key: %s' % (k))
|
|
||||||
for f in self.files[k]:
|
|
||||||
print(f)
|
|
||||||
print('\n')
|
|
||||||
|
|
||||||
def __str__(self):
|
def __str__(self):
|
||||||
if self.status in ['ready', 'discover'] and self.online:
|
if self.status in ['ready', 'discover'] and self.online:
|
||||||
my_id = self.node_id
|
my_id = self.node_id
|
||||||
|
Loading…
x
Reference in New Issue
Block a user