[Sugar-devel] [PATCH sugar 09/21] style cleanup: prefer ' for strings

Sascha Silbe sascha-ml-reply-to-2010-3 at silbe.org
Sat Oct 23 07:11:59 EDT 2010


Excerpts from James Cameron's message of Mon Oct 18 06:29:45 +0200 2010:

[src/jarabe/util/emulator.py]
> > -    os.environ['DISPLAY'] = ":%d" % (display)
> > +    os.environ['DISPLAY'] = ':%d' % (display, )
> 
> /me raises eyebrow
> 
> ... wasn't done in extensions/deviceicon/network.py
> GsmPalette.update_stats().

I've reverted the format part of the above change. It caught my eye
(pylint didn't detect it) while doing the string changes, but we should
probably rather check and fix all format strings as a separate clean-up
later.

Anything else you'd like changed or do you think it's ready to go in?

Sascha

--
http://sascha.silbe.org/
http://www.infra-silbe.de/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20101023/a7db0462/attachment.pgp>


More information about the Sugar-devel mailing list