Fix a merge error in create_repo_api.

This commit is contained in:
yackob03 2013-11-04 19:01:58 -05:00
parent 3a11ea4229
commit 5838e1bc07

View file

@ -407,11 +407,6 @@ def create_repo_api():
repo.description = json['description'] repo.description = json['description']
repo.save() repo.save()
repo = model.create_repository(namespace_name, repository_name, owner,
visibility)
repo.description = json['description']
repo.save()
return jsonify({ return jsonify({
'namespace': namespace_name, 'namespace': namespace_name,
'name': repository_name 'name': repository_name