Submitter | phabricator |
---|---|
Date | May 19, 2018, 2:37 a.m. |
Message ID | <578ff0189de187ed4a4953ed5201a7a8@localhost.localdomain> |
Download | mbox | patch |
Permalink | /patch/31672/ |
State | Not Applicable |
Headers | show |
Comments
Patch
diff --git a/mercurial/cext/pathencode.c b/mercurial/cext/pathencode.c --- a/mercurial/cext/pathencode.c +++ b/mercurial/cext/pathencode.c @@ -660,7 +660,7 @@ if (name == NULL) return -1; - hashlib = PyImport_Import(name); + hashlib = PyImport_ImportModule("hashlib"); Py_DECREF(name); if (hashlib == NULL) {