Fixes for pep8 1.5

This commit is contained in:
Daniel Narvaez
2014-03-29 19:25:34 +00:00
parent cbf325d994
commit 01ed63ee4b
9 changed files with 24 additions and 24 deletions
+3 -3
View File
@@ -437,11 +437,11 @@ class Activity(Window, Gtk.Container):
def _set_up_sharing(self, mesh_instance, share_scope):
# handle activity share/join
logging.debug('*** Act %s, mesh instance %r, scope %s' %
(self._activity_id, mesh_instance, share_scope))
(self._activity_id, mesh_instance, share_scope))
if mesh_instance is not None:
# There's already an instance on the mesh, join it
logging.debug('*** Act %s joining existing mesh instance %r' %
(self._activity_id, mesh_instance))
(self._activity_id, mesh_instance))
self.shared_activity = mesh_instance
self.shared_activity.connect('notify::private',
self.__privacy_changed_cb)
@@ -854,7 +854,7 @@ class Activity(Window, Gtk.Container):
def __share_cb(self, ps, success, activity, err):
if not success:
logging.debug('Share of activity %s failed: %s.' %
(self._activity_id, err))
(self._activity_id, err))
return
logging.debug('Share of activity %s successful, PS activity is %r.' %
+1 -1
View File
@@ -40,7 +40,7 @@ from sugar3.activity import activity
class LocalRequestHandler(BaseHTTPRequestHandler):
#Handler for the GET requests
# Handler for the GET requests
def do_GET(self):
new_path = self.server.path + '/' + self.path
if not os.path.exists(new_path):