forked from aniani/vim
updated for version 7.3.1108
Problem: Error message for os.fchdir() (Charles Peacech) Solution: Clear the error. (ZyX)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user