Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gajim-plugins
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
58
Issues
58
List
Boards
Labels
Service Desk
Milestones
Merge Requests
7
Merge Requests
7
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gajim
gajim-plugins
Commits
b4bc3e53
Commit
b4bc3e53
authored
Jun 30, 2017
by
Philipp Hörist
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[pgp] Dont save instance of GnuPG()
parent
bd2a2c69
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
pgp/pgpplugin.py
pgp/pgpplugin.py
+2
-4
No files found.
pgp/pgpplugin.py
View file @
b4bc3e53
...
...
@@ -72,16 +72,14 @@ class OldPGPPlugin(GajimPlugin):
'encryption_state'
+
self
.
encryption_name
:
(
self
.
encryption_state
,
None
)}
self
.
gpg_instances
=
{}
self
.
decrypt_queue
=
queue
.
Queue
()
self
.
thread
=
None
def
get_gpg
(
self
,
account
):
return
self
.
gpg_instances
[
account
]
return
gajim
.
connections
[
account
].
gpg
def
activate
(
self
):
for
account
in
gajim
.
connections
:
self
.
gpg_instances
[
account
]
=
gajim
.
connections
[
account
].
gpg
pass
def
deactivate
(
self
):
pass
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment