Fixes for the Group application

This commit is contained in:
2010-10-26 09:03:50 +01:00
parent 4e302276eb
commit 9482f50601
3 changed files with 5 additions and 5 deletions

View File

@@ -10,7 +10,7 @@ class Migration(DataMigration):
for group in orm['auth.Group'].objects.all():
try:
obj = orm.GroupInformation.objects.get(group=group)
except orm['auth.Group'].DoesNotExist:
except orm.GroupInformation.DoesNotExist:
obj = orm.GroupInformation(group=group)
obj.save()