Replace use of clipext with pipeable, split_lines=False.
This commit is contained in:
parent
cb5228fe0c
commit
8ce994a54b
2 changed files with 4 additions and 4 deletions
|
@ -6,9 +6,9 @@ import urllib
|
|||
import warnings
|
||||
|
||||
from voussoirkit import bytestring
|
||||
from voussoirkit import clipext
|
||||
from voussoirkit import dotdict
|
||||
from voussoirkit import pathclass
|
||||
from voussoirkit import pipeable
|
||||
from voussoirkit import ratelimiter
|
||||
from voussoirkit import vlogging
|
||||
|
||||
|
@ -435,7 +435,7 @@ def touch(filename):
|
|||
def download_argparse(args):
|
||||
url = args.url
|
||||
|
||||
url = clipext.resolve(url)
|
||||
url = pipeable.input(url, split_lines=False)
|
||||
callback = {
|
||||
None: Progress1,
|
||||
'1': Progress1,
|
||||
|
|
|
@ -238,8 +238,8 @@ def main_log_context(argv, subject, *args, **kwargs):
|
|||
|
||||
def operatornotify_argparse(args):
|
||||
notify(
|
||||
subject='\n'.join(pipeable.input(args.subject)),
|
||||
body='\n'.join(pipeable.input(args.body)),
|
||||
subject=pipeable.input(args.subject, split_lines=False),
|
||||
body=pipeable.input(args.body, split_lines=False),
|
||||
)
|
||||
|
||||
@vlogging.main_decorator
|
||||
|
|
Loading…
Reference in a new issue