diff options
author | Tim Laszlo <tim.laszlo@gmail.com> | 2012-10-17 20:02:39 -0500 |
---|---|---|
committer | Tim Laszlo <tim.laszlo@gmail.com> | 2012-10-17 20:02:39 -0500 |
commit | b878a93646d123bcceb5330f7fdaec9e64f55b58 (patch) | |
tree | f490eed0280f35193b492125b185e401fb623166 /tools | |
parent | 7c299281ae61f9abc2555a3685d3b4b7a0a64f7b (diff) | |
download | bcfg2-b878a93646d123bcceb5330f7fdaec9e64f55b58.tar.gz bcfg2-b878a93646d123bcceb5330f7fdaec9e64f55b58.tar.bz2 bcfg2-b878a93646d123bcceb5330f7fdaec9e64f55b58.zip |
Default to a url friendly group name
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/upgrade/1.3/migrate_dbstats.py | 2 |
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] |