mirror of
https://github.com/kennethreitz/pipenv.git
synced 2026-06-05 06:46:15 +00:00
Print installer class name instead of object reference
This commit is contained in:
@@ -0,0 +1 @@
|
||||
Print class name instead of the object reference when using installer to install a python version
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user