]> git.lyx.org Git - features.git/commitdiff
Fix stupid typo.
authorRichard Heck <rgheck@comcast.net>
Mon, 14 Feb 2011 22:14:42 +0000 (22:14 +0000)
committerRichard Heck <rgheck@comcast.net>
Mon, 14 Feb 2011 22:14:42 +0000 (22:14 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37672 a592a061-630c-0410-9148-cb99ea01b6c8

lib/scripts/lyxpreview_tools.py

index c060f9e5266abf14b1b71dba182306e689bb12d4..447e25fb63c550547e2a7fbc57bfceb11bc7c2cd 100644 (file)
@@ -61,7 +61,7 @@ def make_texcolor(hexcolor, graphics):
 
 def find_exe(candidates, path):
     extlist = ['']
-    if "PATHEXT" in os.environ.has_key:
+    if "PATHEXT" in os.environ:
         extlist = extlist + os.environ["PATHEXT"].split(os.pathsep)
 
     for prog in candidates: