git://git.onelab.eu
/
sface.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Convert hostname to string
[sface.git]
/
sface
/
screens
/
mainscreen.py
diff --git
a/sface/screens/mainscreen.py
b/sface/screens/mainscreen.py
index
92c2a12
..
cc34adb
100644
(file)
--- a/
sface/screens/mainscreen.py
+++ b/
sface/screens/mainscreen.py
@@
-313,11
+313,11
@@
class SliceWidget(QWidget):
status = self.itemStatus(item)
if status == node_status['add']:
print "Add hostname: %s" % hostname
status = self.itemStatus(item)
if status == node_status['add']:
print "Add hostname: %s" % hostname
- rspec.add_slivers(
hostname
, testbed)
+ rspec.add_slivers(
str(hostname)
, testbed)
change = True
elif status == node_status['remove']:
print "Remove hostname: %s" % hostname
change = True
elif status == node_status['remove']:
print "Remove hostname: %s" % hostname
- rspec.remove_slivers(
hostname
, testbed)
+ rspec.remove_slivers(
str(hostname)
, testbed)
change = True
elif depth == 3: # Tag
tag, value = self.itemText(item).split(": ")
change = True
elif depth == 3: # Tag
tag, value = self.itemText(item).split(": ")