mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
Sequence is deprecated in Python 3.8, remove subclassing
This commit is contained in:
+1
-2
@@ -3,7 +3,6 @@ from __future__ import unicode_literals, absolute_import
|
|||||||
import sys
|
import sys
|
||||||
import os
|
import os
|
||||||
import posixpath
|
import posixpath
|
||||||
from collections import Sequence
|
|
||||||
|
|
||||||
from funcy import cached_property
|
from funcy import cached_property
|
||||||
|
|
||||||
@@ -102,7 +101,7 @@ class PosixPathInfo(PathInfo, pathlib.PurePosixPath):
|
|||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
||||||
class _URLPathParents(Sequence):
|
class _URLPathParents(object):
|
||||||
def __init__(self, pathcls, scheme, netloc, path):
|
def __init__(self, pathcls, scheme, netloc, path):
|
||||||
self._scheme = scheme
|
self._scheme = scheme
|
||||||
self._netloc = netloc
|
self._netloc = netloc
|
||||||
|
|||||||
Reference in New Issue
Block a user