diff options
author | Steve Dower <steve.dower@microsoft.com> | 2015-09-06 06:09:00 (GMT) |
---|---|---|
committer | Steve Dower <steve.dower@microsoft.com> | 2015-09-06 06:09:00 (GMT) |
commit | ef920d6d5e38cebd51b17001d614b55b1c468041 (patch) | |
tree | af703be82111b458922d8376f9189fde9ae4c729 /Modules | |
parent | 0fba9b324f061a4c8af9f39c3d0befdf29e2a216 (diff) | |
download | cpython-ef920d6d5e38cebd51b17001d614b55b1c468041.zip cpython-ef920d6d5e38cebd51b17001d614b55b1c468041.tar.gz cpython-ef920d6d5e38cebd51b17001d614b55b1c468041.tar.bz2 |
Backed out changeset: a29b49d57769
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/timemodule.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/Modules/timemodule.c b/Modules/timemodule.c index f729594..d0917a4 100644 --- a/Modules/timemodule.c +++ b/Modules/timemodule.c @@ -662,12 +662,6 @@ time_strftime(PyObject *self, PyObject *args) "format %y requires year >= 1900 on AIX"); return NULL; } - else if (outbuf[1] == '\0') - { - PyErr_SetString(PyExc_ValueError, "Incomplete format string"); - Py_DECREF(format); - return NULL; - } } #endif |