mirror of
				https://github.com/Rudd-O/ansible-qubes.git
				synced 2025-11-04 05:28:54 +01:00 
			
		
		
		
	Fix bug in ellipsized.
This commit is contained in:
		
							parent
							
								
									3b1ae61238
								
							
						
					
					
						commit
						84b7c6b0eb
					
				@ -3,7 +3,7 @@
 | 
				
			|||||||
%define mybuildnumber %{?build_number}%{?!build_number:1}
 | 
					%define mybuildnumber %{?build_number}%{?!build_number:1}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Name:           ansible-qubes
 | 
					Name:           ansible-qubes
 | 
				
			||||||
Version:        0.0.19
 | 
					Version:        0.0.20
 | 
				
			||||||
Release:        %{mybuildnumber}%{?dist}
 | 
					Release:        %{mybuildnumber}%{?dist}
 | 
				
			||||||
Summary:        Inter-VM program execution for Qubes OS AppVMs and StandaloneVMs
 | 
					Summary:        Inter-VM program execution for Qubes OS AppVMs and StandaloneVMs
 | 
				
			||||||
BuildArch:      noarch
 | 
					BuildArch:      noarch
 | 
				
			||||||
 | 
				
			|||||||
@ -322,7 +322,7 @@ def quotedargs():
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
def quotedargs_ellipsized(cmdlist):
 | 
					def quotedargs_ellipsized(cmdlist):
 | 
				
			||||||
    text = " ".join(quote(x) for x in sys.argv[1:])
 | 
					    text = " ".join(quote(x) for x in cmdlist)
 | 
				
			||||||
    if len(text) > 80:
 | 
					    if len(text) > 80:
 | 
				
			||||||
        text = text[:77] + "..."
 | 
					        text = text[:77] + "..."
 | 
				
			||||||
    return text
 | 
					    return text
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user