On 16/06/2009 7:09 AM, The Digital Pioneer wrote:
> On Mon, Jun 15, 2009 at 3:35 PM, arne anka <openm...@ginguppin.de
> <mailto:openm...@ginguppin.de>> wrote:
>
>     no "," but "%" as separator:
>
>     logger.debug ("INCOMING CALLER: %s" % info.get( "peer", "" ))
>
>       from what i see.
>
>
> Ehhh, you sure about that? That doesn't look right, and I copied the
> pattern set by another line already in the file:
>
> logger.error( "error from channel to %s = %s", request, response )

That may be out of context, variable substitution may take place else 
where. 'request' and 'response' are most likely printed/used as is.

Test it for yourself :) ...

#!/usr/pkg/bin/python2.5
# string formatting
string1 = raw_input( "Enter string1: " )
string2 = raw_input( "Enter string2: " )
print "string1 is %s, string2 is %s" % (string1, string2)

Sarton

_______________________________________________
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community

Reply via email to