minor EvolutionModule bug
- From: Matt Colyer <matt colyer name>
- To: conduit-list gnome org
- Subject: minor EvolutionModule bug
- Date: Fri, 26 Sep 2008 21:20:00 -0700
I believe that I have uncovered a minor bug with the evolution module.
It appears that the arguments submitted to the synchronization error
were reversed from what they should have been.
Patch attached.
-Matt
2008-09-26 Matt Colyer <>
* conduit/modules/EvolutionModule/EvolutionModule.py: Fix arguments
on SynchronizeError.
diff --git a/conduit/modules/EvolutionModule/EvolutionModule.py b/conduit/modules/EvolutionModule/EvolutionModule.py
index 55c0ca3..95bfe0c 100644
--- a/conduit/modules/EvolutionModule/EvolutionModule.py
+++ b/conduit/modules/EvolutionModule/EvolutionModule.py
@@ -75,7 +75,7 @@ class EvoBase(DataProvider.TwoWay):
comp = obj.compare(existing)
# only update if newer
if comp != conduit.datatypes.COMPARISON_NEWER:
- raise Exceptions.SynchronizeConflictError(comp, existing, obj)
+ raise Exceptions.SynchronizeConflictError(comp, obj, existing)
else:
# overwrite and return new ID
rid = self._update_object(LUID, obj)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]