]> git.lyx.org Git - lyx.git/blobdiff - lib/lyx2lyx/lyx_1_6.py
tufte-book.lyx, tufte-handout.lyx: fix typos
[lyx.git] / lib / lyx2lyx / lyx_1_6.py
index e1ed5e670f86fa360e249988af11b49aebd39c33..38728c6e07babb5939a2cf08494f8b9d86e36520 100644 (file)
@@ -1777,7 +1777,7 @@ def revert_module_names(document):
     return
   newmodlist = []
   for mod in modlist:
-    if modulemap.has_key(mod):
+    if mod in modulemap:
       newmodlist.append(modulemap[mod])
     else:
       document.warning("Can't find module %s in the module map!" % mod)