Skip to content

Commit d92cc2a

Browse files
committed
arc: Prune unused imports
Signed-off-by: Lucas Meneghel Rodrigues <[email protected]>
1 parent 98c3c37 commit d92cc2a

15 files changed

+0
-25
lines changed

arc/acl.py

-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
import functools
2121

2222
import arc.base
23-
import arc.defaults
2423
import arc.shared.frontend
2524

2625

arc/atomicgroup.py

-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
import functools
2121

2222
import arc.base
23-
import arc.defaults
2423
import arc.shared.frontend
2524

2625

arc/base.py

-3
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,6 @@
2626
'Model']
2727

2828

29-
import arc.defaults
30-
31-
3229
def get_data(service, method, connection, **data_filter):
3330
"""
3431
Base function to fetch data from the RPC server

arc/cli/actions/job.py

-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525

2626
import arc.cli.actions.base
2727
import arc.job
28-
import arc.tko.job
2928
import arc.host
3029
import arc.test
3130

arc/cli/actions/regressionpoint.py

-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
import sys
2020

2121
import arc.utils
22-
import arc.testenvironment
2322
import arc.tko.test
2423
import arc.cli.actions.base
2524
import arc.cli.actions.testenvironment

arc/cli/actions/testenvironment.py

-2
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@
1717
toplevel command is used
1818
"""
1919

20-
import os
21-
import sys
2220
import difflib
2321
import logging
2422

arc/cli/args/testenvironment.py

-2
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@
2020
__all__ = ['ACTION_ARGUMENTS', 'ARGUMENTS']
2121

2222

23-
import arc.cli.args.base
24-
2523
#
2624
# Arguments that are treated as actions
2725
#

arc/connection.py

-3
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,7 @@
2020
basic object that allows methods to be called on the remote RPC server.
2121
"""
2222

23-
import os
24-
2523
import arc.config
26-
import arc.defaults
2724
import arc.proxy
2825
import arc.shared.frontend
2926
import arc.shared.rpc

arc/host.py

-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
import functools
2121

2222
import arc.base
23-
import arc.defaults
2423
import arc.label
2524
import arc.shared.frontend
2625

arc/label.py

-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
import functools
2020

2121
import arc.base
22-
import arc.defaults
2322
import arc.shared.frontend
2423

2524

arc/linuxdistro.py

-2
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,9 @@
1616
Module with interface for fetching and manipulating hosts on a autotest server
1717
"""
1818

19-
import re
2019
import functools
2120

2221
import arc.base
23-
import arc.label
2422
import arc.shared.frontend
2523

2624

arc/testenvironment.py

-2
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,9 @@
1616
Module with interface for fetching and manipulating hosts on a autotest server
1717
"""
1818

19-
import re
2019
import functools
2120

2221
import arc.base
23-
import arc.label
2422
import arc.shared.frontend
2523

2624

arc/tko/test.py

-2
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,10 @@
1616
Module with interface for fetching and manipulating hosts on a autotest server
1717
"""
1818

19-
import re
2019
import functools
2120

2221
import arc.base
2322
import arc.defaults
24-
import arc.label
2523

2624

2725
__all__ = ['get_data',

docs/source/conf.py

-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414

1515
# -*- coding: utf-8 -*-
1616

17-
import sys
18-
import os
1917
import arc.version
2018

2119
extensions = ['sphinx.ext.autodoc',

man/cli_parser_extract.py

-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616

1717
import os
1818
import sys
19-
import argparse
2019
import StringIO
2120

2221
THIS_FILE = os.path.abspath(__file__)

0 commit comments

Comments
 (0)