do not create null file when testing gpg. see #6953
This commit is contained in:
parent
195d0121ed
commit
ed39ae75c4
1 changed files with 1 additions and 1 deletions
|
@ -158,7 +158,7 @@ except ImportError:
|
||||||
else:
|
else:
|
||||||
import os
|
import os
|
||||||
if os.name == 'nt':
|
if os.name == 'nt':
|
||||||
gpg_cmd = 'gpg -h >null 2>&1'
|
gpg_cmd = 'gpg -h >nul 2>&1'
|
||||||
else:
|
else:
|
||||||
gpg_cmd = 'gpg -h >/dev/null 2>&1'
|
gpg_cmd = 'gpg -h >/dev/null 2>&1'
|
||||||
if os.system(gpg_cmd):
|
if os.system(gpg_cmd):
|
||||||
|
|
Loading…
Add table
Reference in a new issue