Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSascha Silbe <sascha-pgp@silbe.org>2010-10-15 17:45:11 (GMT)
committer Sascha Silbe <sascha-pgp@silbe.org>2010-11-23 16:14:31 (GMT)
commit131c28bb724d89900a1707ad4cae726ba8e9ce5a (patch)
tree80f7f6f3e545379625907c99a9bcaed06f725899
parentc7a80a1e56e4f52e280b0b1d87643899726f6c36 (diff)
fix EOL spaces
Reviewed-by: James Cameron <quozl@laptop.org> Acked-by: Simon Schampijer <simon@laptop.org> CC: Aleksey Lim <alsroot@member.fsf.org>
-rw-r--r--src/sugar/datastore/datastore.py2
-rw-r--r--src/sugar/wm.py2
-rw-r--r--tests/graphics/iconwidget.py2
-rw-r--r--tests/lib/test_mime.py2
4 files changed, 4 insertions, 4 deletions
diff --git a/src/sugar/datastore/datastore.py b/src/sugar/datastore/datastore.py
index 3f5188e..2b01366 100644
--- a/src/sugar/datastore/datastore.py
+++ b/src/sugar/datastore/datastore.py
@@ -153,7 +153,7 @@ class DSObject(object):
return self._object_id
def set_object_id(self, object_id):
- if self._update_signal_match is not None:
+ if self._update_signal_match is not None:
self._update_signal_match.remove()
if object_id is not None:
self._update_signal_match = _get_data_store().connect_to_signal(
diff --git a/src/sugar/wm.py b/src/sugar/wm.py
index 418a291..3bf1421 100644
--- a/src/sugar/wm.py
+++ b/src/sugar/wm.py
@@ -46,7 +46,7 @@ def _property_change_trapped(window, prop, prop_type, format, mode, data):
'a property on a window' % error)
raise RuntimeError('Received X Error (%i) while setting '
'a property on a window' % error)
-
+
def get_activity_id(wnck_window):
window = gtk.gdk.window_foreign_new(wnck_window.get_xid())
diff --git a/tests/graphics/iconwidget.py b/tests/graphics/iconwidget.py
index cacf501..625306e 100644
--- a/tests/graphics/iconwidget.py
+++ b/tests/graphics/iconwidget.py
@@ -45,7 +45,7 @@ def create_icon_widgets(box, sensitive=True):
icon.set_sensitive(sensitive)
icon.show()
- icon = Icon(icon_name='computer-xo',
+ icon = Icon(icon_name='computer-xo',
icon_size=gtk.ICON_SIZE_LARGE_TOOLBAR,
xo_color=XoColor())
box.pack_start(icon)
diff --git a/tests/lib/test_mime.py b/tests/lib/test_mime.py
index 3df0ce6..9a9ad61 100644
--- a/tests/lib/test_mime.py
+++ b/tests/lib/test_mime.py
@@ -33,7 +33,7 @@ class TestMime(unittest.TestCase):
['text/plain', 'text/_moz_htmlcontext', 'text/unicode',
'text/html', 'text/_moz_htmlinfo'])
self.assertEqual(mime_type, 'text/html')
-
+
# Mozilla's text in c&v
mime_type = mime.choose_most_significant(
['text/_moz_htmlcontext', 'STRING', 'text/html', 'text/_moz_htmlinfo',