Fix a misnamed variable in gnupg.py; self._key_dir→self._keys_dir

testing/mmn/mktime_takes_localtime_not_gmtime
Isis Lovecruft 2013-06-28 06:42:42 +00:00
parent 603379eb37
commit 9008faa0db
No known key found for this signature in database
GPG Key ID: A3ADB67A2CDB8B35
1 changed files with 3 additions and 3 deletions

View File

@ -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):