Browse Source

Merge "Remove quota_db backward compat file"

Zuul 1 month ago
parent
commit
03045a8b3f
2 changed files with 1 additions and 23 deletions
  1. 1
    1
      doc/source/contributor/internals/quota.rst
  2. 0
    22
      neutron/db/quota_db.py

+ 1
- 1
doc/source/contributor/internals/quota.rst View File

@@ -346,7 +346,7 @@ References
346 346
 ----------
347 347
 
348 348
 .. [#] Subnet allocation extension: http://git.openstack.org/cgit/openstack/neutron/tree/neutron/extensions/subnetallocation.py
349
-.. [#] DB Quota driver class: http://git.openstack.org/cgit/openstack/neutron/tree/neutron/db/quota_db.py#n33
349
+.. [#] DB Quota driver class: http://git.openstack.org/cgit/openstack/neutron/tree/neutron/db/quota/driver.py#n30
350 350
 .. [#] Quota API extension controller: http://git.openstack.org/cgit/openstack/neutron/tree/neutron/extensions/quotasv2.py#n40
351 351
 .. [#] Neutron resource attribute map: http://git.openstack.org/cgit/openstack/neutron/tree/neutron/api/v2/attributes.py#n639
352 352
 .. [#] Base controller class: http://git.openstack.org/cgit/openstack/neutron/tree/neutron/api/v2/base.py#n50

+ 0
- 22
neutron/db/quota_db.py View File

@@ -1,22 +0,0 @@
1
-# Copyright 2011 OpenStack Foundation.
2
-# All Rights Reserved.
3
-#
4
-#    Licensed under the Apache License, Version 2.0 (the "License"); you may
5
-#    not use this file except in compliance with the License. You may obtain
6
-#    a copy of the License at
7
-#
8
-#         http://www.apache.org/licenses/LICENSE-2.0
9
-#
10
-#    Unless required by applicable law or agreed to in writing, software
11
-#    distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12
-#    WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13
-#    License for the specific language governing permissions and limitations
14
-#    under the License.
15
-
16
-import sys
17
-
18
-from neutron.db.quota import driver  # noqa
19
-
20
-# This module has been preserved for backward compatibility, and will be
21
-# deprecated in the future
22
-sys.modules[__name__] = sys.modules['neutron.db.quota.driver']

Loading…
Cancel
Save