Skip to contentSkip to conversation

knotty: Fix row/column function return value issue

PATCH New Richard Purdie 1 participant 1 message Dec 18, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 knotty: Fix row/column function return value issue

When the row handling was introduced, one of the callbacks was missed resulting in:

TypeError: can only concatenate tuple (not "int") to tuple

Fix it.

bitbake/lib/bb/ui/knotty.py +1 -1
index c3d73b9..042b79e 100644
@@ -171,7 +171,7 @@ class TerminalFilter(object):
                 signal.signal(signal.SIGWINCH, self.sigwinch_handle)
             except:
                 pass
-            self.columns = self.getTerminalColumns()
+            self.rows, self.columns = self.getTerminalColumns()
         except:
             self.cuu = None
         console.addFilter(InteractConsoleLogFilter(self, format))