assert there is a string to GPG-verify

This commit is contained in:
Yann Leboulanger 2005-01-15 11:04:53 +00:00
parent 9bcd7a8eff
commit f84c11956e
1 changed files with 2 additions and 0 deletions

View File

@ -138,6 +138,8 @@ else:
return self.stripHeaderFooter(output)
def verify(self, str, sign):
if not str:
return ''
file = TemporaryFile(prefix='gajim')
fd = file.fileno()
file.write(str)