Actually use the namesapce rather than the literal word namespace, doh

This commit is contained in:
yackob03 2013-11-11 16:31:29 -05:00
parent 18809842b8
commit e6926b62be

View file

@ -128,7 +128,7 @@ def create_repository(namespace, repository):
abort(403)
else:
permission = CreateRepositoryPermission('namespace')
permission = CreateRepositoryPermission(namespace)
if not permission.can():
logger.info('Attempt to create a new repo with insufficient perms.')
abort(403)