diff options
author | James Meyer <james.meyer@operamail.com> | 2009-10-04 20:53:45 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2009-10-04 20:53:45 (GMT) |
commit | 3868dc9b11cabb86872dfa4bc78483d01a27ddcb (patch) | |
tree | 8600ce4dc2425d24010bae26df2e8cbc94044cf3 /build_tools/bin | |
parent | f6993de0b1cede7d19438928e1a4c008afdf3026 (diff) | |
download | linhes_dev-3868dc9b11cabb86872dfa4bc78483d01a27ddcb.zip |
bld: move update_status_cell to the correct cell
strip the buildlog name so remove \n and so forth
Diffstat (limited to 'build_tools/bin')
-rw-r--r-- | build_tools/bin/bld_resource.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/build_tools/bin/bld_resource.py b/build_tools/bin/bld_resource.py index 0fa8309..5d08985 100644 --- a/build_tools/bin/bld_resource.py +++ b/build_tools/bin/bld_resource.py @@ -224,7 +224,7 @@ class MyThread(QtCore.QThread): # print cmd retcode = -1 try: - logfile = "%s/%s.build.log" %(builddir,itemText) + logfile = "%s/%s.build.log" %(builddir.strip(),itemText.strip()) f = open(logfile, 'w') child = pexpect.spawn(cmd,cwd=builddir,timeout=self.TIMEOUT) for line in child: @@ -1525,13 +1525,13 @@ class Ui_MainWindow(object): item = self.tableWidget.item(itemrow,itemcol) self.tableWidget.setItemSelected (item, False) self.tableWidget.scrollToItem(item,3) - self.tableWidget.item(itemrow, 2).setText(status,) + self.tableWidget.item(itemrow, 3).setText(status,) def update_status_cell_ABS(self,itemrow,itemText,status,itemcol): item = self.tableWidget_2.item(itemrow,itemcol) self.tableWidget_2.setItemSelected (item, False) self.tableWidget_2.scrollToItem(item,3) - self.tableWidget_2.item(itemrow, 2).setText(status,) + self.tableWidget_2.item(itemrow, 3).setText(status,) def insert_item(self,itemTextList): pkgname=itemTextList[0] |