Fix the typo on attribute word.
Fix the typo for the attribute word in comment and docstring. Change-Id: Ic4a841c333d712a22503c1d7dc2d21619c601408
This commit is contained in:
		@@ -555,7 +555,7 @@ class Resource(object):
 | 
			
		||||
                except UnicodeEncodeError:
 | 
			
		||||
                    # This happens when we're running with Python version that
 | 
			
		||||
                    # does not support Unicode identifiers (e.g. Python 2.7).
 | 
			
		||||
                    # In that case we can't help but not set this attrubute;
 | 
			
		||||
                    # In that case we can't help but not set this attribute;
 | 
			
		||||
                    # it'll be available in a dict representation though
 | 
			
		||||
                    pass
 | 
			
		||||
                self._info[k] = v
 | 
			
		||||
@@ -564,7 +564,7 @@ class Resource(object):
 | 
			
		||||
                pass
 | 
			
		||||
 | 
			
		||||
    def __getattr__(self, k):
 | 
			
		||||
        """Checking attrbiute existence."""
 | 
			
		||||
        """Checking attribute existence."""
 | 
			
		||||
        if k not in self.__dict__:
 | 
			
		||||
            # NOTE(bcwaldon): disallow lazy-loading if already loaded once
 | 
			
		||||
            if not self.is_loaded():
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user