[pkg-fso-commits] [SCM] FSO frameworkd Debian packaging branch, debian, updated. upstream/0.9.5.5-717-g0f98819

Sebastian Krzyszkowiak seba.dos1 at gmail.com
Sat Aug 6 08:17:37 UTC 2011


The following commit has been merged in the debian branch:
commit 0a4f20d62baa866c60bc51817a9dc011e5d696ef
Author: Sebastian Krzyszkowiak <seba.dos1 at gmail.com>
Date:   Fri Jul 31 21:08:51 2009 +0200

    opimd: GenericDomain: few cosmetic changes

diff --git a/framework/subsystems/opimd/pimd_generic.py b/framework/subsystems/opimd/pimd_generic.py
index 6e1066c..19df6a4 100644
--- a/framework/subsystems/opimd/pimd_generic.py
+++ b/framework/subsystems/opimd/pimd_generic.py
@@ -617,11 +617,11 @@ class QueryManager(DBusFBObject):
         @param entry_id entry ID of the entry that was added"""
 
         for (query_id, query_handler) in self._queries.items():
-            if query_handler.check_new_entry(call_id):
+            if query_handler.check_new_entry(entry_id):
                 entry = self._entries[entry_id]
                 entry_path = entry['Path']
                 # TODO: make it working! :)
-                # self.callAdded(query_id, call_path)
+                # self.entryAdded(query_id, entry_path)
 
     def check_query_id_ok( self, num_id ):
         """
@@ -786,7 +786,7 @@ class GenericDomain(Domain):
         """Adds a entry to the list, assigning it to the default backend and saving it
 
         @param entry_data List of fields; format is [Key:Value, Key:Value, ...]
-        @return Path of the newly created d-bus call object"""
+        @return Path of the newly created d-bus entry object"""
 
         # We use the default backend for now
         backend = BackendManager.get_default_backend(_DOMAIN_NAME)
@@ -806,7 +806,7 @@ class GenericDomain(Domain):
         # As we just added a new entry, we check it against all queries to see if it matches
         # XXX: I comment this out because it doesn't work : Charlie
         # TODO: uncomment it
-        # self.query_manager.check_new_entry(call_id)
+        # self.query_manager.check_new_entry(entry_id)
 
         return result
 
@@ -962,7 +962,7 @@ class GenericDomain(Domain):
 
         # TODO: implement adding new data to backend, which doesn't incorporate entry data
         # For instance: we have SIM contact with Name and Phone. We want to add "Birthday" field.
-        # opimd should then try to add "Birthday" field to default backend and then merge calls.
+        # opimd should then try to add "Birthday" field to default backend and then merge contacts.
 
         for field_name in data:
             if not field_name in entryif._field_idx:

-- 
FSO frameworkd Debian packaging



More information about the pkg-fso-commits mailing list