Browse Source

Исправлено создание директории для временного каталога GPG

tags/3.6.0_beta3
parent
commit
c28b889044
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      pym/update/update.py

+ 4
- 1
pym/update/update.py View File

@@ -1360,7 +1360,10 @@ class Update(MethodsInterface):
for x in self.clVars.Get('cl_update_gpg_keys')]
if gpg_force == "skip":
return True
gpg = GPG(tempfile.mkdtemp(dir="/var/calculate/tmp/update",
gpgtmpdir = "/var/calculate/tmp/update"
if not path.exists(gpgtmpdir):
makeDirectory(gpgtmpdir)
gpg = GPG(tempfile.mkdtemp(dir=gpgtmpdir,
prefix="gpg-"))
for keyfn in gpg_keys:
if path.exists(keyfn):


Loading…
Cancel
Save