summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorTim Laszlo <tim.laszlo@gmail.com>2012-10-17 20:02:39 -0500
committerTim Laszlo <tim.laszlo@gmail.com>2012-10-17 20:02:39 -0500
commitb878a93646d123bcceb5330f7fdaec9e64f55b58 (patch)
treef490eed0280f35193b492125b185e401fb623166 /tools
parent7c299281ae61f9abc2555a3685d3b4b7a0a64f7b (diff)
downloadbcfg2-b878a93646d123bcceb5330f7fdaec9e64f55b58.tar.gz
bcfg2-b878a93646d123bcceb5330f7fdaec9e64f55b58.tar.bz2
bcfg2-b878a93646d123bcceb5330f7fdaec9e64f55b58.zip
Default to a url friendly group name
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 1bde1f0f3..c17328d19 100755
--- a/tools/upgrade/1.3/migrate_dbstats.py
+++ b/tools/upgrade/1.3/migrate_dbstats.py
@@ -83,7 +83,7 @@ def _migrate_transaction(inter, entries, fperms):
bundles = []
unkown_profile = cache.get("PROFILE_UNKNOWN")
if not unkown_profile:
- unkown_profile, created = new_models.Group.objects.get_or_create(name="<<Unknown>>")
+ unkown_profile, created = new_models.Group.objects.get_or_create(name="Unknown")
cache.set("PROFILE_UNKNOWN", unkown_profile, 60 * 60)
newint.profile = unkown_profile
groups = [unkown_profile]