Skip to content

Commit

Permalink
Use TerminalWriter from devpi-common. Refs devpi#930
Browse files Browse the repository at this point in the history
  • Loading branch information
fschulze authored and markmcclain committed Jan 8, 2024
1 parent 37a8f88 commit 7d10ac7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion client/devpi/main.py
Expand Up @@ -11,6 +11,7 @@
from base64 import b64encode
from contextlib import closing, contextmanager
from devpi import hookspecs
from devpi_common.terminal import TerminalWriter
from devpi_common.types import lazydecorator, cached_property
from devpi_common.url import URL
from devpi.use import PersistentCurrent
Expand Down Expand Up @@ -66,7 +67,7 @@ def get_pluginmanager(load_entry_points=True):

class Hub:
def __init__(self, args, file=None, pm=None):
self._tw = py.io.TerminalWriter(file=file)
self._tw = TerminalWriter(file)
self.args = args
self.cwd = py.path.local()
self.quiet = False
Expand Down
1 change: 1 addition & 0 deletions client/pyproject.toml
Expand Up @@ -10,6 +10,7 @@ description = "devpi upload/install/... workflow commands for Python developers"
dependencies = [
"build",
"check-manifest>=0.28",
"colorama;platform_system=='Windows'",
"devpi_common<5,>=4dev",
"iniconfig",
"pkginfo>=1.4.2",
Expand Down

0 comments on commit 7d10ac7

Please sign in to comment.