From 5a4000ed056bf1f233a044298b79da8729d881b8 Mon Sep 17 00:00:00 2001 From: Holger Frey Date: Mon, 12 Aug 2019 11:36:04 +0200 Subject: [PATCH] typo in error catch --- create_snapshot_backup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/create_snapshot_backup.py b/create_snapshot_backup.py index 7b34caf..1befc1a 100755 --- a/create_snapshot_backup.py +++ b/create_snapshot_backup.py @@ -48,7 +48,7 @@ def remote_call(arguments): cmd.extend(arguments) try: result = call(cmd, as_text=True) - except CalledProcessError as e: + except subprocess.CalledProcessError as e: print("STDERR:", e.stderr) raise