diff options
author | Wei Jiangang <weijg.fnst@cn.fujitsu.com> | 2015-09-17 17:00:30 +0800 |
---|---|---|
committer | Wei Jiangang <weijg.fnst@cn.fujitsu.com> | 2015-09-17 17:22:13 +0800 |
commit | 6e333abe538bd66a6c62825263c442ee565756e3 (patch) | |
tree | 925575bb8bba89ac65b66385a1ebc72c5020644b /nova/cells | |
parent | 5d34c572cb4b04e4df1fa1103b456787972c6332 (diff) | |
download | nova-6e333abe538bd66a6c62825263c442ee565756e3.tar.gz |
Remove redundant variable 'context'
And the variable has the same name with imported module
that named 'context'.
Change-Id: I92b25594f9bbd7560454bbefc3c3e2307d3d5d64
Diffstat (limited to 'nova/cells')
-rw-r--r-- | nova/cells/messaging.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/nova/cells/messaging.py b/nova/cells/messaging.py index 14e9cfff45..68cea2785f 100644 --- a/nova/cells/messaging.py +++ b/nova/cells/messaging.py @@ -1208,8 +1208,7 @@ class _BroadcastMessageMethods(_BaseMessageMethods): message.ctxt, instance_uuid, volume_id) def get_migrations(self, message, filters): - context = message.ctxt - return self.compute_api.get_migrations(context, filters) + return self.compute_api.get_migrations(message.ctxt, filters) def get_keypair_at_top(self, message, user_id, name): """Get keypair in API cells by name. Just return None if there is |