Skip to content

Commit f5b2ade

Browse files
fix unused imports
1 parent a3a8d61 commit f5b2ade

File tree

6 files changed

+0
-7
lines changed

6 files changed

+0
-7
lines changed

src/borg/archiver/benchmark_cmd.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import argparse
22
from contextlib import contextmanager
3-
import functools
43
import json
54
import logging
65
import os

src/borg/archiver/debug_cmd.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import argparse
2-
import functools
32
import json
43
import textwrap
54

src/borg/archiver/help_cmd.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
from jsonargparse import ArgumentParser
22
import collections
3-
import functools
43
import textwrap
54

65
from ..constants import * # NOQA

src/borg/archiver/key_cmds.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import argparse
2-
import functools
32
import os
43

54
from ..constants import * # NOQA

src/borg/helpers/jap_helpers.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
import argparse
22
from typing import Any
33

4-
import jsonargparse
5-
64

75
def flatten_namespace(ns: Any) -> argparse.Namespace:
86
"""

src/borg/testsuite/archiver/serve_cmd_test.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ def serve_socket(monkeypatch):
2424
# Use a random unique socket filename, so tests can run in parallel.
2525
socket_file = tempfile.mktemp(suffix=".sock", prefix="borg-", dir=get_runtime_dir())
2626
import sys
27-
import time
2827

2928
borg_bin = os.path.join(os.path.dirname(sys.executable), "borg")
3029
with subprocess.Popen([borg_bin, f"--socket={socket_file}", "serve"]) as p:

0 commit comments

Comments
 (0)