fix mk_label method

This commit is contained in:
Wayne Witzel III 2016-05-24 16:27:28 -04:00
parent aaabc2582d
commit fa010c2228

View File

@ -255,7 +255,7 @@ def create_organization(name, **kwargs):
if type(l) is Label:
labels[l.name] = l
else:
labels[l] = mk_label(l, org, persisted=persisted)
labels[l] = mk_label(l, organization=org, persisted=persisted)
apply_roles(kwargs.get('roles'), [superusers, users, teams, projects, labels], persisted)
return Objects(organization=org,