Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
diff options
authorflavio <fdanesse@gmail.com>2012-06-22 12:26:12 (GMT)
committer flavio <fdanesse@gmail.com>2012-06-22 12:26:12 (GMT)
commit015c5587d2a65e76eed686445bcc4e99504052ca (patch)
parent83bbc998b798c05f76f8990ae5d997e1457f56c8 (diff)
Having all imports in one line
4 files changed, 29 insertions, 15 deletions
diff --git a/activity.py b/activity.py
index 6c82cb7..7fa835c 100644
--- a/activity.py
+++ b/activity.py
@@ -14,19 +14,21 @@
# 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
from gettext import gettext as _
-from telepathy.interfaces import (
-from telepathy.constants import (
-from telepathy.client import Connection, Channel
+from telepathy.interfaces import CHANNEL_INTERFACE
+from telepathy.interfaces import CHANNEL_INTERFACE_GROUP
+from telepathy.interfaces import CHANNEL_TYPE_TEXT
+from telepathy.interfaces import CONN_INTERFACE_ALIASING
+from telepathy.constants import CHANNEL_GROUP_FLAG_CHANNEL_SPECIFIC_HANDLES
+from telepathy.constants import CHANNEL_TEXT_MESSAGE_TYPE_NORMAL
+from telepathy.client import Connection
+from telepathy.client import Channel
from sugar3.graphics import style
from sugar3.graphics.alert import NotifyAlert
@@ -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
diff --git a/chat/box.py b/chat/box.py
index 98dae8d..1b32d5f 100644
--- a/chat/box.py
+++ b/chat/box.py
@@ -23,14 +23,19 @@ import logging
from datetime import datetime
from gettext import gettext as _
-from gi.repository import Gtk, Gdk, GObject, GdkPixbuf
+from gi.repository import Gtk
+from gi.repository import Gdk
+from gi.repository import GObject
+from gi.repository import GdkPixbuf
from gi.repository import Pango
from sugar3.graphics import style
-from sugar3.graphics.palette import Palette, MouseSpeedDetector
+from sugar3.graphics.palette import Palette
+from sugar3.graphics.palette import MouseSpeedDetector
from sugar3.presence import presenceservice
from sugar3.graphics.menuitem import MenuItem
-from sugar3.activity.activity import get_activity_root, show_object_in_journal
+from sugar3.activity.activity import get_activity_root
+from sugar3.activity.activity import show_object_in_journal
from sugar3.util import timestamp_to_elapsed_string
from sugar3.datastore import datastore
from sugar3 import profile
diff --git a/chat/roundbox.py b/chat/roundbox.py
index ae5a4bb..e1c8f77 100644
--- a/chat/roundbox.py
+++ b/chat/roundbox.py
@@ -1,5 +1,7 @@
import math
-from gi.repository import Gtk, GObject, cairo
+from gi.repository import Gtk
+from gi.repository import GObject
+from gi.repository import cairo
from sugar3.graphics import style
diff --git a/chat/smilies.py b/chat/smilies.py
index bf2740c..f098cdb 100644
--- a/chat/smilies.py
+++ b/chat/smilies.py
@@ -17,7 +17,9 @@
import os
from gettext import gettext as _
-from gi.repository import Gtk, GdkPixbuf, Rsvg
+from gi.repository import Gtk
+from gi.repository import GdkPixbuf
+from gi.repository import Rsvg
from sugar3.graphics import style
from sugar3.activity.activity import get_bundle_path