Changes

no edit summary
Line 28: Line 28:     
Make sure that [[Development Team/API policy|API policy]] rules are respected.
 
Make sure that [[Development Team/API policy|API policy]] rules are respected.
 +
 +
== Debug logs ==
 +
Let the logger do the string formatting instead of doing it ourselves. Use debug("foo %r bar", x) and not logging.debug("foo %r bar" % x).
 +
 +
Advantages:
 +
* It's more robust
 +
* formatting only happens if we actually log something
    
== Code style ==
 
== Code style ==
3,267

edits