wizard: fix to get the correct BeRTOS version string.
authorarighi <arighi@38d2e660-2303-0410-9eaa-f027e97ec537>
Mon, 24 May 2010 10:40:42 +0000 (10:40 +0000)
committerarighi <arighi@38d2e660-2303-0410-9eaa-f027e97ec537>
Mon, 24 May 2010 10:40:42 +0000 (10:40 +0000)
commit60f0e0829b5fe5084054cec0fb122da9191cba5b
tree6338f1f786655cffba5f78cc0a5994907e69a186
parentf0c8799f695c20bda1134592ac357620af6cc9fd
wizard: fix to get the correct BeRTOS version string.

The last element of the version string doesn't always represent the
actual BeRTOS version (e.g., when editing a project the last element is
always "[local copy]").

Instead, always use the first element after the "BeRTOS" string to
retrieve the current version.

Fix provided by duplo.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3798 38d2e660-2303-0410-9eaa-f027e97ec537
wizard/bertos_utils.py