diff options
author | Andy Grover <andy@groveronline.com> | 2013-10-12 15:41:51 -0700 |
---|---|---|
committer | Andy Grover <andy@groveronline.com> | 2013-10-12 15:41:51 -0700 |
commit | 072b9ff28b0603a65ea3f9d4b1e91f9e126df654 (patch) | |
tree | 970fe6c687f69e5368008ff55fcef48eae8e0adf | |
parent | 2324406c97ff478d48ba6839549aae67ffb9a886 (diff) | |
parent | d069ec50393430a67375301230fabd7ea73f3b37 (diff) | |
download | targetcli-072b9ff28b0603a65ea3f9d4b1e91f9e126df654.tar.gz |
Merge pull request #25 from cvubrugier/master
Make except clause compatible with Python 3 in scripts/targetcli
-rwxr-xr-x | scripts/targetcli | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/targetcli b/scripts/targetcli index e241efa..a334d11 100755 --- a/scripts/targetcli +++ b/scripts/targetcli @@ -62,7 +62,7 @@ def main(): try: root_node.refresh() - except Exception, error: + except Exception as error: shell.con.display(shell.con.render_text(str(error), 'red')) if not is_root: shell.con.display(shell.con.render_text("Retry as root.", 'red')) |