True/False instaed of 1/0
This commit is contained in:
parent
0f234e2383
commit
3838f09c61
|
@ -19,7 +19,7 @@
|
||||||
|
|
||||||
from tempfile import *
|
from tempfile import *
|
||||||
|
|
||||||
USE_GPG = 1
|
USE_GPG = True
|
||||||
|
|
||||||
try:
|
try:
|
||||||
import GnuPGInterface # Debian package doesn't distribute 'our' file
|
import GnuPGInterface # Debian package doesn't distribute 'our' file
|
||||||
|
@ -27,7 +27,7 @@ except ImportError:
|
||||||
try:
|
try:
|
||||||
from common import GnuPGInterface # use 'our' file
|
from common import GnuPGInterface # use 'our' file
|
||||||
except ImportError:
|
except ImportError:
|
||||||
USE_GPG = 0 # user can't do OpenGPG only if he removed the file!
|
USE_GPG = False # user can't do OpenGPG only if he removed the file!
|
||||||
|
|
||||||
else:
|
else:
|
||||||
class GnuPG(GnuPGInterface.GnuPG):
|
class GnuPG(GnuPGInterface.GnuPG):
|
||||||
|
|
Loading…
Reference in New Issue