summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/upgrade/1.3/migrate_dbstats.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/upgrade/1.3/migrate_dbstats.py b/tools/upgrade/1.3/migrate_dbstats.py
index 888abc002..1bde1f0f3 100755
--- a/tools/upgrade/1.3/migrate_dbstats.py
+++ b/tools/upgrade/1.3/migrate_dbstats.py
@@ -84,7 +84,7 @@ def _migrate_transaction(inter, entries, fperms):
unkown_profile = cache.get("PROFILE_UNKNOWN")
if not unkown_profile:
unkown_profile, created = new_models.Group.objects.get_or_create(name="<<Unknown>>")
- cache.set("PROFILE_UNKNOWN", unkown_profile)
+ cache.set("PROFILE_UNKNOWN", unkown_profile, 60 * 60)
newint.profile = unkown_profile
groups = [unkown_profile]
super(new_models.Interaction, newint).save()