True/False instaed of 1/0

This commit is contained in:
Nikos Kouremenos 2005-07-20 20:19:27 +00:00
parent 0f234e2383
commit 3838f09c61
1 changed files with 2 additions and 2 deletions

View File

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