remove redundant call to setConctroller()
This commit is contained in:
		
							parent
							
								
									99628fedd5
								
							
						
					
					
						commit
						5ab63ee78c
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -87,8 +87,8 @@ class GenericView(object): | ||||||
|         cont = viewAnnotations.get('controller', None) |         cont = viewAnnotations.get('controller', None) | ||||||
|         if cont is None: |         if cont is None: | ||||||
|             cont = component.queryMultiAdapter((self, self.request), name='controller') |             cont = component.queryMultiAdapter((self, self.request), name='controller') | ||||||
|             if cont is not None: |             #if cont is not None: | ||||||
|                 self.setController(cont) |             #    self.setController(cont) | ||||||
|         return cont |         return cont | ||||||
|     controller = property(getController, setController) |     controller = property(getController, setController) | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue