From 7a94d8a920ff132819a00ccd08fef9a412f22b47 Mon Sep 17 00:00:00 2001 From: Don Allingham Date: Wed, 21 Jun 2006 19:29:36 +0000 Subject: [PATCH] * src/DataViews/_RelationView.py: fix sets svn: r6938 --- ChangeLog | 1 + src/DataViews/_RelationView.py | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/ChangeLog b/ChangeLog index d7f0753b3..442b8a29b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -3,6 +3,7 @@ deleting the dialog. 2006-06-21 Don Allingham + * src/DataViews/_RelationView.py: fix sets * src/Filters/__init__.py: include new build_filter_model * src/Filters/_FilterMenu.py: build_filter_model * src/Filters/Rules/Person/_MatchesFilter.py: handle custom and diff --git a/src/DataViews/_RelationView.py b/src/DataViews/_RelationView.py index 614c31023..9eefb2458 100644 --- a/src/DataViews/_RelationView.py +++ b/src/DataViews/_RelationView.py @@ -6,6 +6,11 @@ from gettext import gettext as _ import cgi +try: + set() +except: + from sets import Set as set + #------------------------------------------------------------------------- # # GTK/Gnome modules