[Pkg-sugar-commit] [sugar-toolkit] 110/118: Properly initialize _update_signal_match in class DSObject

Jonas Smedegaard dr at jones.dk
Thu Apr 16 18:49:48 UTC 2015


This is an automated email from the git hooks/post-receive script.

js pushed a commit to annotated tag debian/0.84.10-1
in repository sugar-toolkit.

commit 7aae6960a2d5a0181120e00f25e26855440c7602
Author: Sayamindu Dasgupta <sayamindu at gmail.com>
Date:   Wed May 12 01:36:29 2010 +0530

    Properly initialize _update_signal_match in class DSObject
---
 src/sugar/datastore/datastore.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/sugar/datastore/datastore.py b/src/sugar/datastore/datastore.py
index 6ff10de..7aa4d15 100644
--- a/src/sugar/datastore/datastore.py
+++ b/src/sugar/datastore/datastore.py
@@ -109,12 +109,12 @@ class DSMetadata(gobject.GObject):
 
 class DSObject(object):
     def __init__(self, object_id, metadata=None, file_path=None):
+        self._update_signal_match = None
         self.set_object_id(object_id)
         self._metadata = metadata
         self._file_path = file_path
         self._destroyed = False
         self._owns_file = False
-        self._update_signal_match = None
 
     def get_object_id(self):
         return self._object_id

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-sugar/sugar-toolkit.git



More information about the pkg-sugar-commit mailing list