Skip to content

Commit

Permalink
[tools] fix bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
XXXXzzzz000 committed Nov 23, 2018
1 parent 8206a5d commit 3c9f58a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tools/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 3c9f58a

Please sign in to comment.