diff options
author | Bram Moolenaar <Bram@vim.org> | 2013-06-03 20:04:48 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2013-06-03 20:04:48 +0200 |
commit | e9056b121d6e9751bc0f802c09d4697a6ce4bdd5 (patch) | |
tree | 551dd86f9d82b4034ad2c6382fc6e689930ba6ff | |
parent | 01d89dddfa710f8a014f9bb85ffff4ad35451dc9 (diff) | |
download | vim-git-e9056b121d6e9751bc0f802c09d4697a6ce4bdd5.tar.gz |
updated for version 7.3.1108v7.3.1108
Problem: Error message for os.fchdir() (Charles Peacech)
Solution: Clear the error. (ZyX)
-rw-r--r-- | src/if_py_both.h | 2 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/if_py_both.h b/src/if_py_both.h index 99fdd80ce..945efe60b 100644 --- a/src/if_py_both.h +++ b/src/if_py_both.h @@ -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; } diff --git a/src/version.c b/src/version.c index d9a3a88e5..22d46c764 100644 --- 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, |