Normalize imports
This commit is contained in:
@@ -16,9 +16,9 @@ Licence: BSD
|
|||||||
"""
|
"""
|
||||||
import argparse
|
import argparse
|
||||||
import os
|
import os
|
||||||
import sys
|
|
||||||
import re
|
import re
|
||||||
from subprocess import check_output, CalledProcessError
|
import subprocess
|
||||||
|
import sys
|
||||||
|
|
||||||
|
|
||||||
class Archive(object):
|
class Archive(object):
|
||||||
@@ -102,8 +102,8 @@ class Archive(object):
|
|||||||
command.append(src and src or dst)
|
command.append(src and src or dst)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
output = check_output(command)
|
output = subprocess.check_output(command)
|
||||||
except CalledProcessError:
|
except subprocess.CalledProcessError:
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
return output
|
return output
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user