added get_friends_to_create_contacts_for to service
authorFredrik Wendt <fredrik@wendt.se>
Wed, 9 Jun 2010 17:14:15 +0000 (18:14 +0100)
committerFredrik Wendt <fredrik@wendt.se>
Wed, 9 Jun 2010 17:14:15 +0000 (18:14 +0100)
Signed-off-by: Fredrik Wendt <fredrik@wendt.se>

package/src/org/maemo/hermes/engine/service.py

index 65bdab7..f8bfee7 100644 (file)
@@ -45,6 +45,14 @@ class Service:
     
     
     # -----------------------------------------------------------------------
+    def get_friends_to_create_contacts_for(self):
+        """Returns a list of friends to create contacts for, if user has 
+           configured the service to report any."""
+        
+        return []
+    
+        
+    # -----------------------------------------------------------------------
     def get_unmatched_friends(self):
         """Return a list of friends not matched to a contact, or 'None' if manual mapping
            is not supported."""
@@ -61,7 +69,7 @@ class Service:
 
 
     # -----------------------------------------------------------------------
-    def finalise(self, updated, overwrite = False):
+    def finalise(self, updated, overwrite=False):
         """Once all contacts have been processed, allows for any tidy-up/additional
            enrichment. If any contacts are updated at this stage, 'updated' should
            be added to."""