Submitter | Augie Fackler |
---|---|
Date | Jan. 27, 2015, 3:26 p.m. |
Message ID | <23397a8fe0d25668f79c.1422372394@arthedain.pit.corp.google.com> |
Download | mbox | patch |
Permalink | /patch/7562/ |
State | Accepted |
Commit | bc851e2851b1b1a203744b548f453d0e030b09cc |
Headers | show |
Comments
Patch
diff --git a/mercurial/osutil.c b/mercurial/osutil.c --- a/mercurial/osutil.c +++ b/mercurial/osutil.c @@ -319,7 +319,7 @@ static PyObject *_listdir(char *path, in if (!dir) { PyErr_SetFromErrnoWithFilename(PyExc_OSError, path); goto error_dir; - } + } list = PyList_New(0); if (!list)