Fix a misnamed variable in gnupg.py; self._key_dir→self._keys_dir
parent
603379eb37
commit
9008faa0db
|
@ -497,9 +497,9 @@ class GPG(GPGBase):
|
||||||
fpr = str(key.fingerprint)
|
fpr = str(key.fingerprint)
|
||||||
if len(fpr) == 20:
|
if len(fpr) == 20:
|
||||||
if self.temp_keyring or self.temp_secring:
|
if self.temp_keyring or self.temp_secring:
|
||||||
if not os.path.exists(self._key_dir):
|
if not os.path.exists(self._keys_dir):
|
||||||
os.makedirs(self._key_dir)
|
os.makedirs(self._keys_dir)
|
||||||
prefix = os.path.join(self._key_dir, fpr)
|
prefix = os.path.join(self._keys_dir, fpr)
|
||||||
|
|
||||||
if self.temp_keyring:
|
if self.temp_keyring:
|
||||||
if os.path.isfile(self.temp_keyring):
|
if os.path.isfile(self.temp_keyring):
|
||||||
|
|
Loading…
Reference in New Issue