Taking alternate approach.

Revert "Fix hostname when get_distribution_version() returns a string."

This reverts commit 08f97c0b9d.
pull/8311/head
Michael DeHaan 10 years ago
parent 8b77aa9843
commit fb60e767a7

@ -190,11 +190,8 @@ def get_distribution_version():
except:
# FIXME: MethodMissing, I assume?
distribution_version = platform.dist()[1]
if type(distribution_version) == str:
distribution_version = 0
else:
distribution_version = 0
distribution_version = None
return distribution_version
def load_platform_subclass(cls, *args, **kwargs):

Loading…
Cancel
Save