Unverified Commit 9b96d6db authored by Sébastien Eustace's avatar Sébastien Eustace
Browse files

Update get-poetry.py script

parent 6c2dda23
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -162,7 +162,13 @@ class Installer:

        print('Installing version: ' + colorize('info', version))

        try:
            return self.install(version)
        except subprocess.CalledProcessError as e:
            print(colorize('error', 'An error has occured: {}'.format(str(e))))
            print(e.output)

            return e.returncode

    def install(self, version):
        # Most of the work will be delegated to pip