mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
1) Remove Python's 'Six' package completely. #5357
2) Replace deprecated @abstractproperty with @property, @abstractmethod.
This commit is contained in:
@@ -11,7 +11,6 @@
|
||||
|
||||
from abc import ABCMeta, abstractmethod
|
||||
from collections import OrderedDict
|
||||
import six
|
||||
from flask import render_template
|
||||
from flask_babel import gettext
|
||||
from werkzeug.exceptions import InternalServerError
|
||||
@@ -76,8 +75,7 @@ class ObjectRegistry(ABCMeta):
|
||||
)
|
||||
|
||||
|
||||
@six.add_metaclass(ObjectRegistry)
|
||||
class BaseCommand(object):
|
||||
class BaseCommand(object, metaclass=ObjectRegistry):
|
||||
"""
|
||||
class BaseCommand
|
||||
|
||||
|
||||
Reference in New Issue
Block a user