From 9a650899782014338bdc20eaddbfd29749e9cdab Mon Sep 17 00:00:00 2001 From: Aleksey Lim Date: Tue, 25 Aug 2009 17:21:55 +0000 Subject: [PATCH] Fix typos in 0342a24e2db --- src/sugar/activity/activityfactory.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sugar/activity/activityfactory.py b/src/sugar/activity/activityfactory.py index 40733b80..1971cc23 100644 --- a/src/sugar/activity/activityfactory.py +++ b/src/sugar/activity/activityfactory.py @@ -269,7 +269,7 @@ class ActivityCreationHandler(gobject.GObject): stderr=log_file.fileno()) gobject.child_watch_add(child.pid, - __child_watch_cb, + _child_watch_cb, (environment_dir, log_file)) def _no_reply_handler(self, *args): @@ -328,7 +328,7 @@ def create_with_object_id(bundle, object_id): # FIXME we use standalone method here instead of ActivityCreationHandler's # member to have workaround code, see #1123 -def __child_watch_cb(pid, condition, user_data): +def _child_watch_cb(pid, condition, user_data): environment_dir, log_file = user_data if environment_dir is not None: subprocess.call(['/bin/rm', '-rf', environment_dir])