do not create null file when testing gpg. see #6953

This commit is contained in:
Yann Leboulanger 2011-08-31 14:38:26 +02:00
parent 195d0121ed
commit ed39ae75c4

View file

@ -158,7 +158,7 @@ except ImportError:
else:
import os
if os.name == 'nt':
gpg_cmd = 'gpg -h >null 2>&1'
gpg_cmd = 'gpg -h >nul 2>&1'
else:
gpg_cmd = 'gpg -h >/dev/null 2>&1'
if os.system(gpg_cmd):