Print installer class name instead of object reference

This commit is contained in:
Phil Chennikkara
2020-06-01 19:43:33 -05:00
parent 3de5df390e
commit 1689485de1
2 changed files with 4 additions and 0 deletions
+1
View File
@@ -0,0 +1 @@
Print class name instead of the object reference when using installer to install a python version
+3
View File
@@ -71,6 +71,9 @@ class Installer(object):
self.cmd = self._find_installer()
super(Installer, self).__init__()
def __str__(self):
return self.__class__.__name__
@abstractmethod
def _find_installer(self):
pass