From 7acfbd070fa207dff309383da6e743ad2b9843c3 Mon Sep 17 00:00:00 2001 From: Sascha Silbe Date: Fri, 15 Oct 2010 19:14:59 +0000 Subject: style cleanup: prefer ' for strings Tomeu prefers ' for strings, so let's use it wherever we don't have a good reason to use ". Reviewed-by: James Cameron Acked-by: Simon Schampijer CC: Aleksey Lim --- (limited to 'src/sugar/activity/main.py') diff --git a/src/sugar/activity/main.py b/src/sugar/activity/main.py index c04257a..d2a9302 100644 --- a/src/sugar/activity/main.py +++ b/src/sugar/activity/main.py @@ -56,7 +56,7 @@ class SingleProcess(dbus.service.Object): object_path = get_single_process_path(name_service) dbus.service.Object.__init__(self, bus_name, object_path) - @dbus.service.method("org.laptop.SingleProcess", in_signature="a{sv}") + @dbus.service.method('org.laptop.SingleProcess', in_signature='a{sv}') def create(self, handle_dict): handle = activityhandle.create_from_dict(handle_dict) create_activity_instance(self.constructor, handle) @@ -64,14 +64,14 @@ class SingleProcess(dbus.service.Object): def main(): parser = OptionParser() - parser.add_option("-b", "--bundle-id", dest="bundle_id", - help="identifier of the activity bundle") - parser.add_option("-a", "--activity-id", dest="activity_id", - help="identifier of the activity instance") - parser.add_option("-o", "--object-id", dest="object_id", - help="identifier of the associated datastore object") - parser.add_option("-u", "--uri", dest="uri", - help="URI to load") + parser.add_option('-b', '--bundle-id', dest='bundle_id', + help='identifier of the activity bundle') + parser.add_option('-a', '--activity-id', dest='activity_id', + help='identifier of the activity instance') + parser.add_option('-o', '--object-id', dest='object_id', + help='identifier of the associated datastore object') + parser.add_option('-u', '--uri', dest='uri', + help='URI to load') parser.add_option('-s', '--single-process', dest='single_process', action='store_true', help='start all the instances in the same process') -- cgit v0.9.1