nothing important
This commit is contained in:
		
							parent
							
								
									4dd4de8dfc
								
							
						
					
					
						commit
						ff15366b2c
					
				
					 1 changed files with 3 additions and 4 deletions
				
			
		| 
						 | 
					@ -115,10 +115,9 @@ else:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
			try: proc.wait()
 | 
								try: proc.wait()
 | 
				
			||||||
			except IOError: pass
 | 
								except IOError: pass
 | 
				
			||||||
			if resp.has_key('BAD_PASSPHRASE'):
 | 
								if resp.has_key('GOOD_PASSPHRASE'):
 | 
				
			||||||
				return 'BAD_PASSPHRASE'
 | 
					 | 
				
			||||||
			elif resp.has_key('GOOD_PASSPHRASE'):
 | 
					 | 
				
			||||||
				return self._stripHeaderFooter(output)
 | 
									return self._stripHeaderFooter(output)
 | 
				
			||||||
 | 
								return 'BAD_PASSPHRASE'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		def verify(self, str, sign):
 | 
							def verify(self, str, sign):
 | 
				
			||||||
			if not USE_GPG:
 | 
								if not USE_GPG:
 | 
				
			||||||
| 
						 | 
					@ -154,7 +153,7 @@ else:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		def get_keys(self, secret = False):
 | 
							def get_keys(self, secret = False):
 | 
				
			||||||
			if not USE_GPG:
 | 
								if not USE_GPG:
 | 
				
			||||||
				return
 | 
									return {}
 | 
				
			||||||
			if secret:
 | 
								if secret:
 | 
				
			||||||
				opt = '--list-secret-keys'
 | 
									opt = '--list-secret-keys'
 | 
				
			||||||
			else:
 | 
								else:
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue