Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.rc > #365192

Bug#1073040: dput: Fails when processing ssh_config_options value: AttributeError: 'list' object has no attribute 'split'

From Ben Finney <bignose@debian.org>
Newsgroups linux.debian.bugs.rc
Subject Bug#1073040: dput: Fails when processing ssh_config_options value: AttributeError: 'list' object has no attribute 'split'
Date 2024-06-14 05:40 +0200
Message-ID <IP5Xb-2NBj-1@gated-at.bofh.it> (permalink)
References (2 earlier) <IO68V-27FP-1@gated-at.bofh.it> <INmIN-1FzK-3@gated-at.bofh.it> <IOofw-2j5f-3@gated-at.bofh.it> <INmIN-1FzK-3@gated-at.bofh.it> <IOofw-2j5f-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On 12-Jun-2024, Ben Finney wrote:
> On 11-Jun-2024, Christoph Berg wrote:
> 
> >   File "/usr/share/dput/dput/dput.py", line 1152, in upload_files_via_method_scp
> >     line.strip() for line in ssh_config_options.split("\n"))
> >                              ^^^^^^^^^^^^^^^^^^^^^^^^
> > AttributeError: 'list' object has no attribute 'split'
> 
> This is a bug in recently refactored code, thank you for finding it. I will
> correct that and get you to confirm the fix.

At <URL: https://salsa.debian.org/debian/dput/-/merge_requests/15> is a
merge request proposing to fix this bug.

Can you try the resulting Dput package, and confirm whether it corrects the
behaviour in your case?

-- 
 \      “I like to skate on the other side of the ice.” —Steven Wright |
  `\                                                                   |
_o__)                                                                  |
Ben Finney <bignose@debian.org>

Back to linux.debian.bugs.rc | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#1072857: dput: Incorrect delayed argument: ValueError: delayed days value must be a decimal integer: Christoph Berg <myon@debian.org> - 2024-06-11 11:40 +0200
  Bug#1072857: dput: Fails when processing ssh_config_options value: AttributeError: 'list' object has no attribute 'split' Ben Finney <bignose@debian.org> - 2024-06-12 07:00 +0200
    Bug#1073040: dput: Fails when processing ssh_config_options value: AttributeError: 'list' object has no attribute 'split' Ben Finney <bignose@debian.org> - 2024-06-14 05:40 +0200
      Bug#1073040: dput: Fails when processing ssh_config_options value: AttributeError: 'list' object has no attribute 'split' Christoph Berg <myon@debian.org> - 2024-06-14 11:40 +0200

csiph-web