Ticket #712 (closed defect: fixed)

Opened 8 months ago

Last modified 8 months ago

moto-sync calls function HashTable.reset()

Reported by: swolter Owned by: andrewb
Priority: normal Milestone: 0.40
Component: Plugin: moto Version: 0.39
Severity: normal Keywords:
Cc:

Description

Hey everyone,

in the current SVN version (3236), moto-sync calls HashTable?.reset(), which has apparently been renamed to reset_reports().

Bug can be fixed by applying the following patch:

Index: motosync.py
===================================================================
--- motosync.py (revision 3236)
+++ motosync.py (working copy)
@@ -2286,7 +2286,7 @@
     def get_changes(self, info, ctx):
         """Report all OSyncChange objects for entries on the phone."""
         if self.sink.slowsync:
-            self.hashtable.reset()
+            self.hashtable.reset_reports()
         for change in self.access.list_changes(self.objtype):
             self.hashtable.report(change.uid)
             change.changetype = self.hashtable.get_changetype(change.uid, change.hash)

Regards, Steve

Change History

Changed 8 months ago by swolter

  • owner changed from dgollub to andrewb
  • version set to 0.39
  • component changed from OpenSync to Plugin: moto

Changed 8 months ago by andrewb

  • status changed from new to closed
  • resolution set to fixed

Applied in r3239, thanks.

Note: See TracTickets for help on using tickets.