better error message
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
This commit is contained in:
		
					parent
					
						
							
								85d24ce259
							
						
					
				
			
			
				commit
				
					
						2dac681f25
					
				
			
		
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -148,7 +148,7 @@ class ConfigInstall(object): | ||||||
|                 autorequire  = ", ".join(autorequire_names) |                 autorequire  = ", ".join(autorequire_names) | ||||||
|                 info_string.append("%s requires: %s autorequires: %s" % (cdist_object.name, requirements, autorequire)) |                 info_string.append("%s requires: %s autorequires: %s" % (cdist_object.name, requirements, autorequire)) | ||||||
| 
 | 
 | ||||||
|             raise cdist.Error("The following objects could not be resolved: %s" % |             raise cdist.Error("The requirements of the following objects could not be resolved: %s" % | ||||||
|                 ("; ".join(info_string))) |                 ("; ".join(info_string))) | ||||||
| 
 | 
 | ||||||
|     ######################################################################  |     ######################################################################  | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue