better fix as replacement for last commit
This commit is contained in:
		
							parent
							
								
									f7282b84bd
								
							
						
					
					
						commit
						9597d3dafe
					
				|  | @ -238,9 +238,13 @@ class EncodedFile(object): | ||||||
|         self.write(data) |         self.write(data) | ||||||
| 
 | 
 | ||||||
|     def __getattr__(self, name): |     def __getattr__(self, name): | ||||||
|         if name != "buffer": |  | ||||||
|         return getattr(self.buffer, name) |         return getattr(self.buffer, name) | ||||||
| 
 | 
 | ||||||
|  |     def __setattr__(self, dd): | ||||||
|  |         """default implementation for __setattr__ because unpickling causes infinite | ||||||
|  |            recursion if only __getattr__ is overloaded and __setattr__ is missing""" | ||||||
|  |         self.__dict__ = dd | ||||||
|  | 
 | ||||||
| 
 | 
 | ||||||
| class MultiCapture(object): | class MultiCapture(object): | ||||||
|     out = err = in_ = None |     out = err = in_ = None | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue