Commit 3f32e4e4 authored by juga  's avatar juga
Browse files

Compare the mayor number in version specification

Instead of comparing all the version.
parent 951f6f18
......@@ -106,7 +106,7 @@ class V3BWHeader(object):
if k in EXTRA_ARG_KEYVALUES]
def __str__(self):
if self.version == '1.1.0':
if self.version.startswith('1.'):
return self.strv110
return self.strv200
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment