app: do not wrap libvirt_conn.close() in auto-reconnect wrapper
close() function purpose is to close the connection...
This commit is contained in:
		
							parent
							
								
									074c705f77
								
							
						
					
					
						commit
						d57120d809
					
				@ -120,6 +120,8 @@ class VirConnectWrapper(object):
 | 
			
		||||
        attr = getattr(self._conn, attrname)
 | 
			
		||||
        if not isinstance(attr, collections.Callable):
 | 
			
		||||
            return attr
 | 
			
		||||
        if attrname == 'close':
 | 
			
		||||
            return attr
 | 
			
		||||
 | 
			
		||||
        @functools.wraps(attr)
 | 
			
		||||
        def wrapper(*args, **kwargs):
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user