mirror of
				https://github.com/python-pillow/Pillow.git
				synced 2025-11-04 09:57:43 +03:00 
			
		
		
		
	Removing low level PyAccess debug logging
This commit is contained in:
		
							parent
							
								
									21459e9ab4
								
							
						
					
					
						commit
						e3a8044a38
					
				| 
						 | 
					@ -54,7 +54,9 @@ class PyAccess(object):
 | 
				
			||||||
        self.xsize = vals['xsize']
 | 
					        self.xsize = vals['xsize']
 | 
				
			||||||
        self.ysize = vals['ysize']
 | 
					        self.ysize = vals['ysize']
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        logger.debug("%s", vals)
 | 
					        # Debugging is polluting test traces, only useful here
 | 
				
			||||||
 | 
					        # when hacking on PyAccess
 | 
				
			||||||
 | 
					        #logger.debug("%s", vals)
 | 
				
			||||||
        self._post_init()
 | 
					        self._post_init()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    def _post_init(self):
 | 
					    def _post_init(self):
 | 
				
			||||||
| 
						 | 
					@ -310,7 +312,6 @@ def new(img, readonly=False):
 | 
				
			||||||
    if not access_type:
 | 
					    if not access_type:
 | 
				
			||||||
        logger.debug("PyAccess Not Implemented: %s", img.mode)
 | 
					        logger.debug("PyAccess Not Implemented: %s", img.mode)
 | 
				
			||||||
        return None
 | 
					        return None
 | 
				
			||||||
    logger.debug("New PyAccess: %s", img.mode)
 | 
					 | 
				
			||||||
    return access_type(img, readonly)
 | 
					    return access_type(img, readonly)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# End of file
 | 
					# End of file
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user