[conduit: 70/138] Yay for better decisions
- From: John Carr <johncarr src gnome org>
- To: svn-commits-list gnome org
- Subject: [conduit: 70/138] Yay for better decisions
- Date: Thu, 21 May 2009 03:32:48 -0400 (EDT)
commit b321ee6ede5426fafa223149f6cab188b05e046e
Author: John Carr <john carr unrouted co uk>
Date: Sun May 3 04:19:18 2009 -0700
Yay for better decisions
---
test/soup/test_synchronization.py | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/test/soup/test_synchronization.py b/test/soup/test_synchronization.py
index 9b368d2..a8727ed 100644
--- a/test/soup/test_synchronization.py
+++ b/test/soup/test_synchronization.py
@@ -102,8 +102,7 @@ for i in range(len(mods)):
for j in range(i+1, len(mods)):
source = mods[i]
sink = mods[j]
- if sink.dataclass != source.dataclass:
- # FIXME: Need a generic way to say, hey you can sync contacts to folders
+ if not sink.dataclass.is_compatible(source.dataclass.get_datatype()) and not source.dataclass.is_compatible(sink.dataclass.get_datatype()):
continue
if not source.is_twoway() or not sink.is_twoway():
continue
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]