Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
itminedu
synnefo
Commits
a35124e3
Commit
a35124e3
authored
Feb 13, 2013
by
Christos Stavrakakis
Browse files
Fix bug in networks create
re-raise the exception after rolling back transaction
parent
341097f2
Changes
1
Hide whitespace changes
Inline
Side-by-side
snf-cyclades-app/synnefo/api/networks.py
View file @
a35124e3
...
...
@@ -224,6 +224,7 @@ def create_network(serials, request):
network
.
create_backend_network
()
except
:
transaction
.
rollback
()
raise
else
:
transaction
.
commit
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment