Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAleksey Lim <alsroot@sugarlabs.org>2012-08-15 17:33:26 (GMT)
committer Aleksey Lim <alsroot@sugarlabs.org>2012-08-15 17:33:26 (GMT)
commite8b7340a50f4aaffe605e475098f6f1c200a3f69 (patch)
treede5ab050ae0f5d50499e174f6c7418407e9122f1
parent2ba87be3b9592074efed64ddb81c9b3ed668ca22 (diff)
More lint fixes
-rw-r--r--plugin/__init__.py2
-rw-r--r--plugin/launcher.py6
2 files changed, 4 insertions, 4 deletions
diff --git a/plugin/__init__.py b/plugin/__init__.py
index 4af8b09..5d288bb 100644
--- a/plugin/__init__.py
+++ b/plugin/__init__.py
@@ -124,7 +124,7 @@ def control_panel_section():
discover_button.props.active = True
server_mode_button = gtk.CheckButton()
- server_mode_button.props.label = _('Behave as a Sugar Network server ' \
+ server_mode_button.props.label = _('Behave as a Sugar Network server '
'providing data from mounted device')
server_mode_button.props.active = server_mode.value
section.pack_start(server_mode_button, expand=False)
diff --git a/plugin/launcher.py b/plugin/launcher.py
index ea1ed76..ee93728 100644
--- a/plugin/launcher.py
+++ b/plugin/launcher.py
@@ -58,7 +58,7 @@ class Launcher(object):
props.get('activity_id') or activity_id,
props.get('object_id') or object_id,
uri,
- XoColor(props['icon-color']) if 'icon-color' in props \
+ XoColor(props['icon-color']) if 'icon-color' in props
else color,
args)
@@ -70,7 +70,7 @@ class Launcher(object):
if activity_id and not object_id:
_logger.debug('Look for jobject for %r activity_id', activity_id)
model._get_datastore().find({'activity_id': activity_id}, ['uid'],
- reply_handler=lambda jobjects, total: \
+ reply_handler=lambda jobjects, total:
found_jobject(jobjects[0] if total else {}),
error_handler=not_found_jobject, byte_arrays=True)
elif object_id and not activity_id:
@@ -147,7 +147,7 @@ class Launcher(object):
bundle = get_registry().get_bundle(
event['context'], event['mountpoint'])
if bundle is None:
- add_alert('error', msg=_('Cannot find %s activity to launch') % \
+ add_alert('error', msg=_('Cannot find %s activity to launch') %
event['context'])
else:
self.launch(bundle, object_id=event['object_id'], uri=event['uri'],