From 9b208153fc8003453fc411c504abda2d9685397a Mon Sep 17 00:00:00 2001 From: Christopher Cave-Ayland Date: Tue, 29 Oct 2019 13:43:06 +0000 Subject: [PATCH] Convert Page to new style class for python2.7 --- poetry/repositories/legacy_repository.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/poetry/repositories/legacy_repository.py b/poetry/repositories/legacy_repository.py index 88fd576b6bc..6cacb4c38a9 100644 --- a/poetry/repositories/legacy_repository.py +++ b/poetry/repositories/legacy_repository.py @@ -54,7 +54,7 @@ import html5lib -class Page: +class Page(object): VERSION_REGEX = re.compile(r"(?i)([a-z0-9_\-.]+?)-(?=\d)([a-z0-9_.!+-]+)") SUPPORTED_FORMATS = [