components/python/novaclient/patches/01-novaclient-migration-list.patch
changeset 2058 f97e212983b2
child 3998 5bd484384122
equal deleted inserted replaced
2057:e712a3010964 2058:f97e212983b2
       
     1 # Patch to prevent nova migration-list from generating an error.
       
     2 # This patch has not yet been submitted upstream. 
       
     3 
       
     4 --- python-novaclient-2.17.0/novaclient/base.py.orig        2014-08-22 16:12:58.186693128 -0600
       
     5 +++ python-novaclient-2.17.0/novaclient/base.py     2014-08-22 16:16:19.119321660 -0600
       
     6 @@ -73,7 +73,7 @@
       
     7              try:
       
     8                  data = data['values']
       
     9              except KeyError:
       
    10 -                pass
       
    11 +                data = []
       
    12 
       
    13          with self.completion_cache('human_id', obj_class, mode="w"):
       
    14              with self.completion_cache('uuid', obj_class, mode="w"):
       
    15