From 4dd4de8dfc00edc58abc555c603264edaf6873c1 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Fri, 22 Jul 2005 17:27:03 +0000 Subject: [PATCH] file -> f --- src/common/GnuPG.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/common/GnuPG.py b/src/common/GnuPG.py index 706f5f7fd..4adf26a09 100644 --- a/src/common/GnuPG.py +++ b/src/common/GnuPG.py @@ -125,14 +125,14 @@ else: return str if not str: return '' - file = TemporaryFile(prefix='gajim') - fd = file.fileno() - file.write(str) - file.seek(0) + f = TemporaryFile(prefix='gajim') + fd = f.fileno() + f.write(str) + f.seek(0) proc = self.run(['--verify', '--enable-special-filenames', '-', '-&%s'%fd], create_fhs=['stdin', 'status', 'stderr']) - file.close() + f.close() sign = self._addHeaderFooter(sign, 'SIGNATURE') proc.handles['stdin'].write(sign) proc.handles['stdin'].close()