Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sugar/activity/__init__.py
diff options
context:
space:
mode:
authorJustin Gallardo <jirwin@suzy.(none)>2006-12-04 19:12:24 (GMT)
committer Justin Gallardo <jirwin@suzy.(none)>2006-12-04 19:12:24 (GMT)
commitb9f9ef0fe9e36cf6e5de59700154b16f2dae15cd (patch)
tree3d5403ec73e993a78c5e92f8b14a5b86e8b6ae60 /sugar/activity/__init__.py
parentf5ae0662482de14f9d3812ddc4aba9be61024887 (diff)
Changed all tabs to 4 spaces for python style
Diffstat (limited to 'sugar/activity/__init__.py')
-rw-r--r--sugar/activity/__init__.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/sugar/activity/__init__.py b/sugar/activity/__init__.py
index 959c0a1..1e606d5 100644
--- a/sugar/activity/__init__.py
+++ b/sugar/activity/__init__.py
@@ -9,10 +9,10 @@ sizes = 'gtk-large-toolbar=%d, %d' % (grid.dimension(1), grid.dimension(1))
settings.set_string_property('gtk-icon-sizes', sizes, '')
def get_default_type(activity_type):
- """Get the activity default type.
+ """Get the activity default type.
- It's the type of the main network service which tracks presence
+ It's the type of the main network service which tracks presence
and provides info about the activity, for example the title."""
- splitted_id = activity_type.split('.')
- splitted_id.reverse()
- return '_' + '_'.join(splitted_id) + '._udp'
+ splitted_id = activity_type.split('.')
+ splitted_id.reverse()
+ return '_' + '_'.join(splitted_id) + '._udp'