Very minor cleanup.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37555 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Richard Heck 2011-02-07 23:48:29 +00:00
parent 2bb01af413
commit 620cd90aa3

View File

@ -27,7 +27,7 @@ fout.close()
version = re_version.match(output) version = re_version.match(output)
# Imagemagick by default # Imagemagick by default
gm = 0 gm = False
if version != None: if version != None:
major = int(version.group(1)) major = int(version.group(1))
@ -39,7 +39,7 @@ else:
re_version = re.compile(r'^GraphicsMagick.*http:..www.GraphicsMagick.org.*$') re_version = re.compile(r'^GraphicsMagick.*http:..www.GraphicsMagick.org.*$')
version = re_version.match(output) version = re_version.match(output)
if version != None: if version != None:
gm = 1 gm = True
opts = "-depth 8" opts = "-depth 8"