Write strings into bootstrap_servers.list
This commit is contained in:
parent
c70a9b2d82
commit
d2384521b0
2
setup.py
2
setup.py
|
@ -57,7 +57,7 @@ class SdistCmd(sdist):
|
||||||
except ImportError:
|
except ImportError:
|
||||||
pass
|
pass
|
||||||
else:
|
else:
|
||||||
with open('src/network/bootstrap_servers.list', 'wb') as dst:
|
with open('src/network/bootstrap_servers.list', 'w') as dst:
|
||||||
for peer in enumerate_bootstrap_servers():
|
for peer in enumerate_bootstrap_servers():
|
||||||
dst.write('{0}, {1}\n'.format(*peer))
|
dst.write('{0}, {1}\n'.format(*peer))
|
||||||
return sdist.run(self)
|
return sdist.run(self)
|
||||||
|
|
Reference in New Issue
Block a user