-
Notifications
You must be signed in to change notification settings - Fork 1
Added fixes related to exception message #11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
17fb19c
65e7a3e
6511b0d
dcaff62
32083a3
9904cbc
9c42784
68b50cf
b7cdc1a
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -4286,7 +4286,6 @@ def admitRemoteCopyLinks( | |
| cmd = ['admitrcopylink', targetName, source_target_port_pair] | ||
| response = self._run(cmd) | ||
| if response != []: | ||
| response = response[0] | ||
| raise exceptions.SSHException(response) | ||
| except exceptions.SSHException as ex: | ||
| raise exceptions.SSHException(ex) | ||
|
|
@@ -4307,7 +4306,6 @@ def dismissRemoteCopyLinks( | |
| cmd = ['dismissrcopylink', targetName, source_target_port_pair] | ||
| response = self._run(cmd) | ||
| if response != []: | ||
| response = response[0] | ||
|
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. same as above |
||
| raise exceptions.SSHException(response) | ||
| except exceptions.SSHException as ex: | ||
| raise exceptions.SSHException(ex) | ||
|
|
@@ -4321,7 +4319,6 @@ def startrCopy(self): | |
| cmd = ['startrcopy'] | ||
| response = self._run(cmd) | ||
| if response != []: | ||
| response = response[0] | ||
|
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. same as above |
||
| raise exceptions.SSHException(response) | ||
| except exceptions.SSHException as ex: | ||
| raise exceptions.SSHException(ex) | ||
|
|
@@ -4394,7 +4391,6 @@ def admitRemoteCopyTarget(self, targetName, mode, remote_copy_group_name, | |
| try: | ||
| response = self._run(cmd) | ||
| if response != []: | ||
| response = response[0] | ||
|
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. same as above |
||
| raise exceptions.SSHException(response) | ||
| except exceptions.SSHException as ex: | ||
| raise exceptions.SSHException(ex) | ||
|
|
@@ -4413,7 +4409,6 @@ def dismissRemoteCopyTarget(self, targetName, remote_copy_group_name): | |
| try: | ||
| response = self._run(cmd) | ||
| if response != []: | ||
| response = response[0] | ||
|
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. same as above |
||
| raise exceptions.SSHException(response) | ||
| except exceptions.SSHException as ex: | ||
| raise exceptions.SSHException(ex) | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Initially we were returning only part of the message, now it will return whole message that
we are getting from storeserv