X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/f12a9837a7a7a49507106a1f0d4d335b682fe1f6..1f74e9a6dc7dd2303f3271ccf4c7a3eb59e3e27e:/apps/newtagging/models.py diff --git a/apps/newtagging/models.py b/apps/newtagging/models.py index e121994c7..37d1639d3 100644 --- a/apps/newtagging/models.py +++ b/apps/newtagging/models.py @@ -1,8 +1,12 @@ +# -*- coding: utf-8 -*- """ Models and managers for generic tagging. """ + # Python 2.3 compatibility -if not hasattr(__builtins__, 'set'): +try: + set +except NameError: from sets import Set as set from django.contrib.contenttypes import generic