components/python/novaclient/patches/01-novaclient-migration-list.patch
changeset 3998 5bd484384122
parent 2058 f97e212983b2
child 5405 66fd59fecd68
--- a/components/python/novaclient/patches/01-novaclient-migration-list.patch	Fri Mar 20 03:13:26 2015 -0700
+++ b/components/python/novaclient/patches/01-novaclient-migration-list.patch	Thu Mar 19 14:41:20 2015 -0700
@@ -1,15 +1,14 @@
 # Patch to prevent nova migration-list from generating an error.
 # This patch has not yet been submitted upstream. 
 
---- python-novaclient-2.17.0/novaclient/base.py.orig        2014-08-22 16:12:58.186693128 -0600
-+++ python-novaclient-2.17.0/novaclient/base.py     2014-08-22 16:16:19.119321660 -0600
-@@ -73,7 +73,7 @@
+--- python-novaclient-2.20.0/novaclient/base.py.~1~	2014-09-20 15:12:42.000000000 -0700
++++ python-novaclient-2.20.0/novaclient/base.py	2014-12-13 14:26:17.459463436 -0800
+@@ -76,7 +76,7 @@ class Manager(utils.HookableMixin):
              try:
                  data = data['values']
              except KeyError:
 -                pass
 +                data = []
-
-         with self.completion_cache('human_id', obj_class, mode="w"):
-             with self.completion_cache('uuid', obj_class, mode="w"):
-
+ 
+         self._clear_completion_cache_for_class(obj_class)
+