mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
First round of Python 3 compatibility fixes.
This commit is contained in:
committed by
Dave Page
parent
da6043e7a5
commit
209ee78b25
@@ -14,16 +14,16 @@ from collections import OrderedDict
|
||||
import flask
|
||||
from flask.views import View, MethodViewType, with_metaclass
|
||||
from flask.ext.babel import gettext
|
||||
import six
|
||||
|
||||
from config import PG_DEFAULT_DRIVER
|
||||
from pgadmin.browser import PgAdminModule
|
||||
from pgadmin.utils.ajax import make_json_response
|
||||
|
||||
|
||||
@six.add_metaclass(ABCMeta)
|
||||
class NodeAttr(object):
|
||||
"""
|
||||
"""
|
||||
__metaclass__ = ABCMeta
|
||||
|
||||
@abstractmethod
|
||||
def validate(self, mode, value):
|
||||
|
||||
Reference in New Issue
Block a user