mirror of
				https://github.com/django/django.git
				synced 2025-10-31 01:25:32 +00:00 
			
		
		
		
	Fixed E125 pep8 warnings
This commit is contained in:
		
				
					committed by
					
						 Tim Graham
						Tim Graham
					
				
			
			
				
	
			
			
			
						parent
						
							d1df395f3a
						
					
				
				
					commit
					7477a4ffde
				
			| @@ -40,7 +40,7 @@ def stringfilter(func): | ||||
|             args = list(args) | ||||
|             args[0] = force_text(args[0]) | ||||
|             if (isinstance(args[0], SafeData) and | ||||
|                 getattr(_dec._decorated_function, 'is_safe', False)): | ||||
|                     getattr(_dec._decorated_function, 'is_safe', False)): | ||||
|                 return mark_safe(func(*args, **kwargs)) | ||||
|         return func(*args, **kwargs) | ||||
|  | ||||
|   | ||||
| @@ -70,7 +70,7 @@ class BlockNode(Node): | ||||
|     def super(self): | ||||
|         render_context = self.context.render_context | ||||
|         if (BLOCK_CONTEXT_KEY in render_context and | ||||
|             render_context[BLOCK_CONTEXT_KEY].get_block(self.name) is not None): | ||||
|                 render_context[BLOCK_CONTEXT_KEY].get_block(self.name) is not None): | ||||
|             return mark_safe(self.render(self.context)) | ||||
|         return '' | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user