changeset 4722:3534e9b4fa42 v7.3.1108

updated for version 7.3.1108 Problem: Error message for os.fchdir() (Charles Peacech) Solution: Clear the error. (ZyX)
author Bram Moolenaar <bram@vim.org>
date Mon, 03 Jun 2013 20:04:48 +0200
parents 567190178c4d
children 116e5a85ee37
files src/if_py_both.h src/version.c
diffstat 2 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/if_py_both.h
+++ b/src/if_py_both.h
@@ -5413,6 +5413,8 @@ populate_module(PyObject *m, object_adde
 	if (PyObject_SetAttrString(os, "fchdir", get_attr(m, "fchdir")))
 	    return -1;
     }
+    else
+	PyErr_Clear();
 
     return 0;
 }
--- a/src/version.c
+++ b/src/version.c
@@ -729,6 +729,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    1108,
+/**/
     1107,
 /**/
     1106,