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
mentors.debian.net
debexpo
Commits
be4d3648
Commit
be4d3648
authored
Oct 21, 2012
by
Clément Schreiner
Browse files
Add check for gpg_path (should be unusable if None)
parent
1c65ded7
Changes
1
Hide whitespace changes
Inline
Side-by-side
debexpo/lib/gnupg.py
View file @
be4d3648
...
...
@@ -121,7 +121,7 @@ class GnuPG(object):
elif
not
os
.
access
(
self
.
gpg_path
,
os
.
X_OK
):
self
.
gpg_path
=
None
if
self
.
default_keyring
is
None
:
if
self
.
gpg_path
is
None
or
self
.
default_keyring
is
None
:
self
.
unusable
=
True
@
staticmethod
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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