]> code.ossystems Code Review - openembedded-core.git/commit
lib/oe/terminal: fix regressions
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Wed, 25 Feb 2015 11:22:24 +0000 (11:22 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 26 Feb 2015 07:46:31 +0000 (07:46 +0000)
commit565d4a144ab3b8fe04950392497de1e0cf1152a5
tree8459493cb788ce21ab3fa0976fb2cef6eb80cfd2
parentc578f5d34ce1718aaeb7dcbf3fc014fd48bac5fc
lib/oe/terminal: fix regressions

Fix up some issues introduced by OE-Core commit
818c94f5b9882c2028ef9f056714a0a3c9045551:

* If we want to support versions with more than two parts, versions with
  only one part, or versions with non-integer parts, then we have to
  stay with strings. We can use distutils.version.LooseVersion() to help
  with comparisons.
* We don't want a warning when launching gnome-terminal 3.10+ and
  logger.warn() doesn't take a first integer parameter anyway
  (logger.debug() does).
* Also clean up tabs.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oe/terminal.py