Fix get_distribution() for platforms that may have spaces
The new CentOS 7 beta lists the distribution as "CentOS Linux", which breaks the distribution detection and class loading. This patch fixes that by taking just the first entry in the string when a space is detected.
Showing
Please
register
or
sign in
to comment