7 root = os.path.dirname( os.path.dirname( os.path.dirname( os.path.dirname( os.path.abspath( __file__ )))))
10 """ return a version with zeros removed """ 11 return '.'.
join( [
str(int(c))
for c
in fw_version_as_string.split(
'.' )] )
std::string join(const std::string &base, const std::string &path)
def pretty_fw_version(fw_version_as_string)