diff options
| author | armink <[email protected]> | 2018-12-28 18:41:48 +0800 |
|---|---|---|
| committer | armink <[email protected]> | 2018-12-28 18:41:48 +0800 |
| commit | 62a7c59c7af239f8e3453d91058bf69719fa11ec (patch) | |
| tree | 9341e4a6a8e63ab81437e1275b017d110cdb1078 /tools/utils.py | |
| parent | 7a6a1e11073617befcb542c62d6782ff03986fcc (diff) | |
[Tools] Sync to latest version.
Diffstat (limited to 'tools/utils.py')
| -rw-r--r-- | tools/utils.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/utils.py b/tools/utils.py index 692cf36c69..6dc56322a5 100644 --- a/tools/utils.py +++ b/tools/utils.py @@ -245,7 +245,9 @@ def ProjectInfo(env): return proj def VersionCmp(ver1, ver2): - la = ver1.split('.') + la=[]; + if ver1: + la = ver1.split('.') lb = ver2.split('.') f = 0 if len(la) > len(lb): |
