]> granicus.if.org Git - vim/commitdiff
updated for version 7.3.1108 v7.3.1108
authorBram Moolenaar <Bram@vim.org>
Mon, 3 Jun 2013 18:04:48 +0000 (20:04 +0200)
committerBram Moolenaar <Bram@vim.org>
Mon, 3 Jun 2013 18:04:48 +0000 (20:04 +0200)
Problem:    Error message for os.fchdir() (Charles Peacech)
Solution:   Clear the error. (ZyX)

src/if_py_both.h
src/version.c

index 99fdd80ce58348bb576ca9d96d9d97f07f16d3eb..945efe60b67d380ef434689bbf46e3b3113d5ce9 100644 (file)
@@ -5413,6 +5413,8 @@ populate_module(PyObject *m, object_adder add_object, attr_getter get_attr)
        if (PyObject_SetAttrString(os, "fchdir", get_attr(m, "fchdir")))
            return -1;
     }
+    else
+       PyErr_Clear();
 
     return 0;
 }
index d9a3a88e5655121a1eaa4171ae9411e069482299..22d46c7643f7bdc8536a1033c94f823a1f19a25c 100644 (file)
@@ -728,6 +728,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1108,
 /**/
     1107,
 /**/