From 3ff97b55da290df736e51a85b0abdd14101efeab Mon Sep 17 00:00:00 2001 From: Tim Laszlo Date: Tue, 9 Oct 2012 06:43:58 -0500 Subject: add unknown group to groups --- tools/upgrade/1.3/migrate_dbstats.py | 1 + 1 file changed, 1 insertion(+) (limited to 'tools') diff --git a/tools/upgrade/1.3/migrate_dbstats.py b/tools/upgrade/1.3/migrate_dbstats.py index 0fe0bfa41..d44ebd6a7 100644 --- a/tools/upgrade/1.3/migrate_dbstats.py +++ b/tools/upgrade/1.3/migrate_dbstats.py @@ -63,6 +63,7 @@ def _migrate_transaction(inter, entries): unkown_profile, created = new_models.Group.objects.get_or_create(name="<>") cache.set("PROFILE_UNKNOWN", unkown_profile) newint.profile = unkown_profile + groups = [unkown_profile] newint.save() if bundles: newint.bundles.add(*bundles) -- cgit v1.2.3-1-g7c22