conduit r1540 - in trunk: . conduit/modules
- From: johncarr svn gnome org
- To: svn-commits-list gnome org
- Subject: conduit r1540 - in trunk: . conduit/modules
- Date: Tue, 15 Jul 2008 09:15:41 +0000 (UTC)
Author: johncarr
Date: Tue Jul 15 09:15:41 2008
New Revision: 1540
URL: http://svn.gnome.org/viewvc/conduit?rev=1540&view=rev
Log:
More whitespace fixing
Modified:
trunk/ (props changed)
trunk/conduit/modules/SynceModule.py
Modified: trunk/conduit/modules/SynceModule.py
==============================================================================
--- trunk/conduit/modules/SynceModule.py (original)
+++ trunk/conduit/modules/SynceModule.py Tue Jul 15 09:15:41 2008
@@ -29,7 +29,7 @@
SYNC_ITEM_NOTES = 6
SYNC_ITEM_TASKS = 7
-TYPETONAMES = {
+TYPETONAMES = {
SYNC_ITEM_CONTACTS : "Contacts",
SYNC_ITEM_CALENDAR : "Calendar",
SYNC_ITEM_TASKS : "Tasks"
@@ -107,7 +107,7 @@
self.engine.AcknowledgeRemoteChanges(acks)
def AddLocalChanges(self, chgset):
- self.engine.AddLocalChanges(chgset)
+ self.engine.AddLocalChanges(chgset)
def FlushItemDB(self):
self.engine.FlushItemDB()
@@ -122,7 +122,7 @@
def refresh(self):
DataProvider.TwoWay.refresh(self)
- self.engine = SyncEngineWrapper()
+ self.engine = SyncEngineWrapper()
self.engine.Connect()
self.engine.Synchronize()
@@ -135,7 +135,7 @@
uid = array.array('B', guid).tostring()
blob = array.array('B', data).tostring()
self.objects[uid] = self._blob_to_data(uid, blob)
-
+
log.info("Got %s objects" % len(self.objects))
return self.objects.keys()
@@ -165,7 +165,7 @@
_uid.fromstring(uid)
_blob = array.array('B')
_blob.fromstring(blob)
- self.engine.AddLocalChanges({
+ self.engine.AddLocalChanges({
self._type_id_: (
(_uid, chgtype, _blob),
)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]