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
e4184e58
Commit
e4184e58
authored
Sep 30, 2013
by
Ilias Tsitsimpis
Browse files
snf-deploy: Remove misplaced `raise'
parent
e6a36366
Changes
1
Hide whitespace changes
Inline
Side-by-side
snf-deploy/fabfile.py
View file @
e4184e58
...
...
@@ -341,7 +341,6 @@ def try_run(cmd, abort=True):
fabric
.
utils
.
abort
(
e
)
else
:
debug
(
env
.
host
,
"WARNING: command failed. Continuing anyway..."
)
raise
def
try_put
(
local_path
=
None
,
remote_path
=
None
,
abort
=
True
,
**
kwargs
):
...
...
@@ -352,7 +351,6 @@ def try_put(local_path=None, remote_path=None, abort=True, **kwargs):
fabric
.
utils
.
abort
(
e
)
else
:
debug
(
env
.
host
,
"WARNING: command failed. Continuing anyway..."
)
raise
def
try_get
(
remote_path
,
local_path
=
None
,
abort
=
True
,
**
kwargs
):
...
...
@@ -363,7 +361,6 @@ def try_get(remote_path, local_path=None, abort=True, **kwargs):
fabric
.
utils
.
abort
(
e
)
else
:
debug
(
env
.
host
,
"WARNING: command failed. Continuing anyway..."
)
raise
def
create_bridges
():
...
...
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