From: Benjamin Peterson Date: Wed, 2 Jan 2013 18:25:15 +0000 (-0600) Subject: untabify X-Git-Tag: v2.7.4rc1~281 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8f53ded1ee99dabb3ccee5a2141b0a7da2e2d18f;p=thirdparty%2FPython%2Fcpython.git untabify --- diff --git a/Objects/stringobject.c b/Objects/stringobject.c index dcab35e8434d..c6f2220bbf66 100644 --- a/Objects/stringobject.c +++ b/Objects/stringobject.c @@ -4490,9 +4490,9 @@ PyString_Format(PyObject *format, PyObject *args) else { iobj = PyNumber_Int(v); if (iobj==NULL) { - PyErr_Clear(); - iobj = PyNumber_Long(v); - } + PyErr_Clear(); + iobj = PyNumber_Long(v); + } } if (iobj!=NULL) { if (PyInt_Check(iobj)) {