mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
python 3 updates
- Fix super() calls for python 3 - No need to inherit objects. - No need for u at the start of strings - Tidied up some brackets and f-strings too
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
|
||||
"""A blueprint module providing utility functions for the application."""
|
||||
|
||||
import pgadmin.utils.driver as driver
|
||||
from pgadmin.utils import driver
|
||||
from flask import url_for, render_template, Response, request
|
||||
from flask_babel import gettext
|
||||
from pgadmin.utils import PgAdminModule, replace_binary_path
|
||||
@@ -120,7 +120,7 @@ class MiscModule(PgAdminModule):
|
||||
from .statistics import blueprint as module
|
||||
self.submodules.append(module)
|
||||
|
||||
super(MiscModule, self).register(app, options)
|
||||
super().register(app, options)
|
||||
|
||||
|
||||
# Initialise the module
|
||||
|
||||
Reference in New Issue
Block a user