SF.net SVN: jython:[7133] trunk/jython/src/org/python/modules/time/Time. java
[email protected] Mon, 04 Oct 2010 17:28:05 +0000
| Newsgroups | gmane.comp.lang.jython.cvs |
|---|---|
| Message-ID | <[email protected]> |
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.
------------------------------------------------------------------------------
Virtualization is moving to the mainstream and overtaking non-virtualized
environment for deploying applications. Does it make network security
easier or more difficult to achieve? Read this whitepaper to separate the
two and get a better understanding.
http://p.sf.net/sfu/hp-phase2-d2d