[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:45 UTC 2011
The following commit has been merged in the debian branch:
commit 640a3a99b98819ca18806464352c1c26d5bdf519
Author: Sebastian Krzyszkowiak <seba.dos1 at gmail.com>
Date: Sat Aug 8 02:26:08 2009 +0200
opimd: CSV-Contacts: Update function names
diff --git a/framework/subsystems/opimd/pimb_csv_contacts.py b/framework/subsystems/opimd/pimb_csv_contacts.py
index 3017090..d8a226b 100644
--- a/framework/subsystems/opimd/pimb_csv_contacts.py
+++ b/framework/subsystems/opimd/pimb_csv_contacts.py
@@ -104,7 +104,7 @@ class CSVContactBackend(Backend):
else:
entry[key] = value
- entry_id = self._domain_handlers['Contacts'].register_contact(self, entry)
+ entry_id = self._domain_handlers['Contacts'].register_entry(self, entry)
self._entry_ids.append(entry_id)
except IOError:
@@ -131,17 +131,17 @@ class CSVContactBackend(Backend):
file.close()
- def del_contact(self, contact):
+ def del_entry(self, contact):
pass
def sync(self):
self.save_entries_to_file()
- def upd_contact(self, contact_data):
+ def upd_entry(self, contact_data):
pass
- def add_contact(self, contact_data):
- contact_id = self._domain_handlers['Contacts'].register_contact(self, contact_data)
+ def add_entry(self, contact_data):
+ contact_id = self._domain_handlers['Contacts'].register_entry(self, contact_data)
# TODO Delayed writing to prevent performance issues when adding lots of contacts
self.save_entries_to_file()
--
FSO frameworkd Debian packaging
More information about the pkg-fso-commits
mailing list