@property<EOL><INDENT>def major_version(self):<DEDENT>
if self.version is None:<EOL><INDENT>return None<EOL><DEDENT>return productmd.common.get_major_version(self.version)<EOL>
Version string without the last part.
For example: version == 1.2.0 -> major_version == 1.2