[Sugar-devel] [PATCH sugar 09/21] style cleanup: prefer ' for strings
James Cameron
quozl at laptop.org
Mon Oct 18 00:29:45 EDT 2010
On Sun, Oct 17, 2010 at 12:20:11AM +0200, Sascha Silbe wrote:
> diff --git a/src/jarabe/util/emulator.py b/src/jarabe/util/emulator.py
> index 4c9ca8e..12277df 100644
> --- a/src/jarabe/util/emulator.py
> +++ b/src/jarabe/util/emulator.py
> @@ -129,7 +129,7 @@ def _setup_env(display, scaling, emulator_pid):
> env.get_profile_path(), 'logs', 'mission-control.log')
> os.environ['STREAM_ENGINE_LOGFILE'] = os.path.join(
> env.get_profile_path(), 'logs', 'telepathy-stream-engine.log')
> - os.environ['DISPLAY'] = ":%d" % (display)
> + os.environ['DISPLAY'] = ':%d' % (display, )
> os.environ['SUGAR_EMULATOR_PID'] = emulator_pid
> os.environ['MC_ACCOUNT_DIR'] = os.path.join(
> env.get_profile_path(), 'accounts')
/me raises eyebrow
... wasn't done in extensions/deviceicon/network.py
GsmPalette.update_stats().
--
James Cameron
http://quozl.linux.org.au/
More information about the Sugar-devel
mailing list