Am 20.03.2017 um 16:11 schrieb Jani Nikula <jani.nik...@linux.intel.com>:

>> # Get Sphinx version
>> -major, minor, patch = map(int, sphinx.__version__.split("."))
>> +major, minor, patch, _, _ = sphinx.version_info

Thanks! ... alternative, use only first three items of the
tuple. More stable, if there is a version with only
three items in the tuple:

 major, minor, patch = sphinx.version_info[:3]

-- Markus --


--
To unsubscribe from this list: send the line "unsubscribe linux-doc" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to