Avoid supposedly invalid syntax in gnue-common rpc/client
David Ayers <[email protected]> Fri, 21 Nov 2008 11:24:15 +0100
| Newsgroups | gmane.comp.gnu.enterprise.devel |
|---|---|
| Message-ID | <[email protected]> |
Hello Folks, After upgrading to current python2.5 infrastructure I needed the following patch to avoid an exception. It seems obvious but I haven't looked very hard. Cheers, David _______________________________________________ Gnue-dev mailing list [email protected] http://lists.gnu.org/mailman/listinfo/gnue-dev
gnue-common.src.rpc.client.py.patch
(text/x-patch, 500 B)
Index: gnue-common/src/rpc/client.py
===================================================================
--- gnue-common/src/rpc/client.py (Revision 9898)
+++ gnue-common/src/rpc/client.py (Arbeitskopie)
@@ -184,6 +184,7 @@
'date': datetime.date.today (),
'time': datetime.datetime.today ().time (),
'datetime': datetime.datetime.today (),
+ }
print "Sending %r (%s) to a roundtrip ..." % (o, type (o))
v = obj.roundtrip (o)
print "Result:", repr (v), type (v)