Changeset 7829 for branches/gajim_0.11/src/common/GnuPG.py
- Timestamp:
- 01/13/07 23:35:41 (23 months ago)
- Files:
-
- 1 modified
-
branches/gajim_0.11/src/common/GnuPG.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/gajim_0.11/src/common/GnuPG.py
r7652 r7829 44 44 45 45 class GnuPG(GnuPGInterface.GnuPG): 46 def __init__(self ):46 def __init__(self, use_agent = False): 47 47 GnuPGInterface.GnuPG.__init__(self) 48 self.use_agent = use_agent 48 49 self._setup_my_options() 49 50 … … 54 55 # Nolith's patch - prevent crashs on non fully-trusted keys 55 56 self.options.extra_args.append('--always-trust') 57 if self.use_agent: 58 self.options.extra_args.append('--use-agent') 56 59 57 60 def _read_response(self, child_stdout):
