mirror of
				https://github.com/avatao-content/baseimage-tutorial-framework
				synced 2025-11-04 01:12:55 +00:00 
			
		
		
		
	Remove unnecessary pylint: disable comment
This commit is contained in:
		@@ -7,7 +7,7 @@ from os.path import dirname, isdir, isfile, realpath
 | 
			
		||||
def _with_is_allowed(func):
 | 
			
		||||
    @wraps(func)
 | 
			
		||||
    def wrapper(self, *args, **kwargs):
 | 
			
		||||
        if self.is_allowed(args[0]): # pylint: disable=protected-access
 | 
			
		||||
        if self.is_allowed(args[0]):
 | 
			
		||||
            return func(self, *args, **kwargs)
 | 
			
		||||
        raise ValueError('Forbidden path.')
 | 
			
		||||
    return wrapper
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user