Optimise Python imports.

This commit is contained in:
Dave Page
2016-06-21 14:12:14 +01:00
parent 4f5eeffd1f
commit 3026b470e9
92 changed files with 500 additions and 412 deletions

View File

@@ -10,17 +10,19 @@
"""Implements Resource Groups for PPAS 9.4 and above"""
import json
from functools import wraps
import pgadmin.browser.server_groups.servers as servers
from flask import render_template, make_response, request, jsonify
from flask.ext.babel import gettext
from pgadmin.browser.collection import CollectionNodeModule
from pgadmin.browser.utils import NodeView
from pgadmin.utils.ajax import make_json_response, \
make_response as ajax_response, internal_server_error
from pgadmin.browser.utils import NodeView
from pgadmin.browser.collection import CollectionNodeModule
import pgadmin.browser.server_groups.servers as servers
from pgadmin.utils.ajax import precondition_required
from pgadmin.utils.driver import get_driver
from config import PG_DEFAULT_DRIVER
from functools import wraps
class ResourceGroupModule(CollectionNodeModule):