Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Malte L
gajim-plugins
Commits
f9bea2d6
Commit
f9bea2d6
authored
Nov 09, 2018
by
Philipp Hörist
Browse files
[pgp] Remove legacy code
parent
c731f70c
Changes
1
Show whitespace changes
Inline
Side-by-side
pgp/pgpplugin.py
View file @
f9bea2d6
...
@@ -36,13 +36,7 @@ from gajim.plugins.plugins_i18n import _
...
@@ -36,13 +36,7 @@ from gajim.plugins.plugins_i18n import _
log
=
logging
.
getLogger
(
'gajim.plugin_system.oldpgp'
)
log
=
logging
.
getLogger
(
'gajim.plugin_system.oldpgp'
)
ERROR_MSG
=
''
ERROR_MSG
=
''
if
hasattr
(
app
,
'HAVE_GPG'
):
if
not
app
.
is_installed
(
'GPG'
):
# Gajim 1.0.0
HAVE_GPG
=
app
.
HAVE_GPG
else
:
# Gajim 1.0.3+
HAVE_GPG
=
app
.
is_installed
(
'GPG'
)
if
not
HAVE_GPG
:
if
os
.
name
==
'nt'
:
if
os
.
name
==
'nt'
:
ERROR_MSG
=
_
(
'Please install GnuPG / Gpg4win'
)
ERROR_MSG
=
_
(
'Please install GnuPG / Gpg4win'
)
else
:
else
:
...
...
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