[Sugar-devel] [PATCH Chat] Having all imports line per line
Manuel Quiñones
manuq at laptop.org
Wed Jun 20 20:51:10 EDT 2012
2012/6/20 Rafael Ortiz <rafael at activitycentral.com>:
> Having all imports in one line, fixing previous introduced typo.
Looks good!
> Signed-off-by: Rafael Ortiz <rafael at activitycentral.com>
Reviewed-by: Manuel Quiñones <manuq at laptop.org>
> ---
> 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
>
> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
--
.. manuq ..
More information about the Sugar-devel
mailing list