fixing 500 error
This commit is contained in:
		
					parent
					
						
							
								d7a38dffa2
							
						
					
				
			
			
				commit
				
					
						993039c020
					
				
			
		
					 1 changed files with 2 additions and 1 deletions
				
			
		|  | @ -501,7 +501,8 @@ class OpenNebulaManager(): | |||
|                     public_key = old_key.replace(public_key, '') | ||||
| 
 | ||||
|             except AttributeError: | ||||
|                 raise KeyDoesNotExistsError() | ||||
|                 return False | ||||
|                 #raise KeyDoesNotExistsError() | ||||
|                  | ||||
|             self.oneadmin_client.call('user.update', open_user.id, | ||||
|                          '<CONTEXT><SSH_PUBLIC_KEY>{key}</SSH_PUBLIC_KEY></CONTEXT>'.format(key=public_key)) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue