From 5f52e61a4e79b8d7b14d4b6f116b24fcba73cd2d Mon Sep 17 00:00:00 2001 From: gryf Date: Thu, 19 Oct 2023 17:58:52 +0200 Subject: [PATCH] Normalize imports --- extfslib.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/extfslib.py b/extfslib.py index f4c438a..70bebba 100644 --- a/extfslib.py +++ b/extfslib.py @@ -16,9 +16,9 @@ Licence: BSD """ import argparse import os -import sys import re -from subprocess import check_output, CalledProcessError +import subprocess +import sys class Archive(object): @@ -102,8 +102,8 @@ class Archive(object): command.append(src and src or dst) try: - output = check_output(command) - except CalledProcessError: + output = subprocess.check_output(command) + except subprocess.CalledProcessError: sys.exit(1) return output