[Sugar-devel] [PATCH Chat] Having all imports line per line

Rafael Ortiz rafael at activitycentral.com
Wed Jun 20 17:10:57 EDT 2012


Having all imports in one line, fixing previous introduced typo.

Signed-off-by: Rafael Ortiz <rafael at activitycentral.com>
---
 activity.py |   13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

diff --git a/activity.py b/activity.py
index 6c82cb7..03bd571 100644
--- a/activity.py
+++ b/activity.py
@@ -14,7 +14,9 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
-from gi.repository import Gtk, Gdk
+from gi.repository import Gtk 
+from gi.repository import Gdk
+
 import logging
 import cjson
 import math
@@ -34,8 +36,11 @@ from sugar3.graphics.palette import Palette
 from sugar3.graphics.toolbarbox import ToolbarBox
 from sugar3.activity import activity
 from sugar3.presence import presenceservice
-from sugar3.activity.widgets import ActivityButton, TitleEntry
-from sugar3.activity.widgets import StopButton, ShareButton, RadioMenuButton
+from sugar3.activity.widgets import ActivityButton 
+from sugar3.activity.widgets import TitleEntry
+from sugar3.activity.widgets import StopButton 
+from sugar3.activity.widgets import ShareButton 
+from sugar3.activity.widgets import RadioMenuButton
 
 from chat import smilies
 from chat.box import ChatBox
@@ -354,7 +359,7 @@ class Chat(activity.Activity):
                 last_line_was_timestamp = False
 
 class TextChannelWrapper(object):
-    """Wrap a telepathy Text Channfel to make usage simpler."""
+    """Wrap a telepathy Text Channel to make usage simpler."""
 
     def __init__(self, text_chan, conn):
         """Connect to the text channel"""
-- 
1.7.9.5



More information about the Sugar-devel mailing list