git://git.onelab.eu
/
tests.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
decodebytes, not decodestring
[tests.git]
/
system
/
TestNode.py
diff --git
a/system/TestNode.py
b/system/TestNode.py
index
355225f
..
686a38d
100644
(file)
--- a/
system/TestNode.py
+++ b/
system/TestNode.py
@@
-182,9
+182,9
@@
class TestNode:
print("Dry_run: skipped writing of iso image")
return True
else:
print("Dry_run: skipped writing of iso image")
return True
else:
- # with python3 we need to call decode
string
here
+ # with python3 we need to call decode
bytes
here
with open(filename,'wb') as storage:
with open(filename,'wb') as storage:
- storage.write(base64.decode
string
(bencoded))
+ storage.write(base64.decode
bytes
(bencoded))
return True
def nodestate_reinstall(self):
return True
def nodestate_reinstall(self):