diff options
Diffstat (limited to 'Lib/packaging/run.py')
-rw-r--r-- | Lib/packaging/run.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/packaging/run.py b/Lib/packaging/run.py index de9dd13..1895dde 100644 --- a/Lib/packaging/run.py +++ b/Lib/packaging/run.py @@ -5,7 +5,6 @@ import re import sys import getopt import logging -from copy import copy from packaging import logger from packaging.dist import Distribution @@ -673,7 +672,7 @@ class Dispatcher: def main(args=None): old_level = logger.level - old_handlers = copy(logger.handlers) + old_handlers = list(logger.handlers) try: dispatcher = Dispatcher(args) if dispatcher.action is None: |