git://git.onelab.eu
/
sface.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
4d44098
)
fix problem with adding networks to RSpecs (QString was not automatically type converted)
author
smbaker
<smbaker@fc8clean.lan>
Tue, 4 Oct 2011 01:51:00 +0000
(18:51 -0700)
committer
smbaker
<smbaker@fc8clean.lan>
Tue, 4 Oct 2011 01:51:00 +0000
(18:51 -0700)
sface/screens/mainscreen.py
patch
|
blob
|
history
diff --git
a/sface/screens/mainscreen.py
b/sface/screens/mainscreen.py
index
c2a2118
..
22c321f
100644
(file)
--- a/
sface/screens/mainscreen.py
+++ b/
sface/screens/mainscreen.py
@@
-410,10
+410,10
@@
class SliceWidget(QWidget):
def itemStatus(self, item):
statusItem = item.parent().child(item.row(), MEMBERSHIP_STATUS_COLUMN)
def itemStatus(self, item):
statusItem = item.parent().child(item.row(), MEMBERSHIP_STATUS_COLUMN)
- return st
atusItem.data(Qt.DisplayRole).toString(
)
+ return st
r(statusItem.data(Qt.DisplayRole).toString()
)
def itemText(self, item):
def itemText(self, item):
- return
item.data(Qt.DisplayRole).toString(
)
+ return
str(item.data(Qt.DisplayRole).toString()
)
# Recursively walk the tree, making changes to the RSpec
def process_subtree(self, rspec, resources, item, depth = 0):
# Recursively walk the tree, making changes to the RSpec
def process_subtree(self, rspec, resources, item, depth = 0):