encrypt must return 2 values.
This commit is contained in:
		
							parent
							
								
									94d14d6a5c
								
							
						
					
					
						commit
						2287625fdf
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -81,7 +81,7 @@ else:
 | 
			
		|||
 | 
			
		||||
		def encrypt(self, str, recipients):
 | 
			
		||||
			if not USE_GPG:
 | 
			
		||||
				return str
 | 
			
		||||
				return str, 'GnuPG not usable'
 | 
			
		||||
			self.options.recipients = recipients   # a list!
 | 
			
		||||
 | 
			
		||||
			proc = self.run(['--encrypt'], create_fhs=['stdin', 'stdout',
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue