I reviewed the tests and added a test case for when an entry does not
have a password. Also changed the patch to return None rather that "",
which is expected by the current tests. Apparently I should've checked
those manually as that was not caught automatically.

This also simplifies the actual patch even more, and should now be in
good shape.

** Patch added: "patch-V3"
   
https://bugs.launchpad.net/ubuntu/+source/python3.10/+bug/2067361/+attachment/5793097/+files/netrc-relax-parsing-3.diff

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2067361

Title:
  Programs using netrc with containing an entry without a password fail
  with an exception "malformed machine entry <> terminated by ''"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python3.10/+bug/2067361/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to