[Sugar-devel] [PATCH Maze 4/4] Save and restore state of the game

Manuel Kaufmann humitos at gmail.com
Tue Mar 27 08:05:35 EDT 2012


On Mon, Mar 26, 2012 at 14:59, Sascha Silbe <silbe at activitycentral.com> wrote:
> The first argument to the log.<level> family of functions is a format
> string. If you wish to log the value of some variable, you should use
> %s or %r in the format string and pass the variable as second+ parameter:
>
>                log.debug('event=%r', event)

Documentation:

 * http://wiki.sugarlabs.org/go/Development_Team/Code_guidelines#Miscellaneous

-- 
Kaufmann Manuel
Blog: http://humitos.wordpress.com/
Porfolio: http://fotos.mkaufmann.com.ar/
PyAr: http://www.python.com.ar/


More information about the Sugar-devel mailing list