From: <zy...@us...> - 2010-10-04 17:28:11
|
Revision: 7133 http://jython.svn.sourceforge.net/jython/?rev=7133&view=rev Author: zyasoft Date: 2010-10-04 17:28:05 +0000 (Mon, 04 Oct 2010) Log Message: ----------- Handle boundary case where the last literal character in the strptime format specifier did not get an end quote. Fixes #1662. Modified Paths: -------------- trunk/jython/src/org/python/modules/time/Time.java Modified: trunk/jython/src/org/python/modules/time/Time.java =================================================================== --- trunk/jython/src/org/python/modules/time/Time.java 2010-10-03 21:14:29 UTC (rev 7132) +++ trunk/jython/src/org/python/modules/time/Time.java 2010-10-04 17:28:05 UTC (rev 7133) @@ -790,6 +790,9 @@ builder.append(translated != null ? translated : charAt); directive = false; } + if (inQuote) { + builder.append("'"); + } return builder.toString(); } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |