diff options
| author | Brian Lamar <brian.lamar@rackspace.com> | 2011-03-18 17:58:38 +0000 |
|---|---|---|
| committer | Tarmac <> | 2011-03-18 17:58:38 +0000 |
| commit | 7e299ece0600e19d062bb28867e0809c48ac12a0 (patch) | |
| tree | 664caab361da0ec07607082d030b2be4daa1ba64 /nova/db | |
| parent | c3c68f856c9e959ad6732f7ef4157f0b47cf1b15 (diff) | |
| parent | 204ec967ee46079fb95a18fcfb1167ff57458015 (diff) | |
Replaced all pylint "disable-msg=" with "disable=" and "enable-msg=" with "enable=".
Diffstat (limited to 'nova/db')
| -rw-r--r-- | nova/db/api.py | 2 | ||||
| -rw-r--r-- | nova/db/base.py | 2 | ||||
| -rw-r--r-- | nova/db/sqlalchemy/api.py | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/nova/db/api.py b/nova/db/api.py index 3cb0e5811..94777f413 100644 --- a/nova/db/api.py +++ b/nova/db/api.py @@ -608,7 +608,7 @@ def network_get_all(context): return IMPL.network_get_all(context) -# pylint: disable-msg=C0103 +# pylint: disable=C0103 def network_get_associated_fixed_ips(context, network_id): """Get all network's ips that have been associated.""" return IMPL.network_get_associated_fixed_ips(context, network_id) diff --git a/nova/db/base.py b/nova/db/base.py index 1d1e80866..a0f2180c6 100644 --- a/nova/db/base.py +++ b/nova/db/base.py @@ -33,4 +33,4 @@ class Base(object): def __init__(self, db_driver=None): if not db_driver: db_driver = FLAGS.db_driver - self.db = utils.import_object(db_driver) # pylint: disable-msg=C0103 + self.db = utils.import_object(db_driver) # pylint: disable=C0103 diff --git a/nova/db/sqlalchemy/api.py b/nova/db/sqlalchemy/api.py index 28f9cb7ca..684574401 100644 --- a/nova/db/sqlalchemy/api.py +++ b/nova/db/sqlalchemy/api.py @@ -1254,7 +1254,7 @@ def network_get_all(context): # NOTE(vish): pylint complains because of the long method name, but # it fits with the names of the rest of the methods -# pylint: disable-msg=C0103 +# pylint: disable=C0103 @require_admin_context |
