forked from rpms/leapp-repository
		
	Update ELevate patch
This commit is contained in:
		
							parent
							
								
									81d6380127
								
							
						
					
					
						commit
						afc8883046
					
				@ -915,7 +915,7 @@ index c9c2741..f773a5f 100644
 | 
			
		||||
 
 | 
			
		||||
 
 | 
			
		||||
diff --git a/commands/upgrade/util.py b/commands/upgrade/util.py
 | 
			
		||||
index 75ffa6a..be5da73 100644
 | 
			
		||||
index 75ffa6a..9022b29 100644
 | 
			
		||||
--- a/commands/upgrade/util.py
 | 
			
		||||
+++ b/commands/upgrade/util.py
 | 
			
		||||
@@ -2,18 +2,23 @@ import functools
 | 
			
		||||
@ -1010,7 +1010,7 @@ index 75ffa6a..be5da73 100644
 | 
			
		||||
+        try:
 | 
			
		||||
+            yield
 | 
			
		||||
+        except LeappRuntimeError as err:
 | 
			
		||||
+            msg = f'{err.message} - Please check the above details'
 | 
			
		||||
+            msg = "{} - Please check the above details".format(err.message)
 | 
			
		||||
+            sys.stderr.write("\n")
 | 
			
		||||
+            sys.stderr.write(pretty_block_text(msg, color="", width=len(msg)))
 | 
			
		||||
+            logger.error(err.message)
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user