[Bug 2138422] Re: Improve docstrings in UpdateManager/Core/utils.py (wrap, twrap, lsmod)

Arnab Patra 2138422 at bugs.launchpad.net
Fri Apr 24 07:28:42 UTC 2026


Thanks a lot for handling the merge request and cleaning up the patch.

I appreciate your help and feedback — it was very helpful for learning the
correct workflow.

Please let me know if anything else is needed from my side.

On Fri, 24 Apr 2026 at 12:30, Nathan Teodosio <2138422 at bugs.launchpad.net>
wrote:

> Oh, I read your comment incorrectly, I'll open the merge request for
> you, thanks for your contribution.
>
> ** Merge proposal linked:
>
> https://code.launchpad.net/~nteodosio/update-manager/+git/update-manager/+merge/504266
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/2138422
>
> Title:
>   Improve docstrings in UpdateManager/Core/utils.py (wrap, twrap, lsmod)
>
> Status in update-manager package in Ubuntu:
>   Triaged
>
> Bug description:
>   Hi,
>
>   Improved docstrings in UpdateManager/Core/utils.py for better clarity:
>
>   - wrap(): Explained why custom wrapper is needed (textwrap breaks
> package names on '-')
>   - twrap(): Clarified multi-paragraph handling and use cases
>   - lsmod(): Documented intentional return of [] on failure
>
>   Pure documentation changes — no code changes, no behavior changes,
>   safe for all users.
>
>   Attached: arnab-doc-patch.diff
>
>   Thanks!
>   Arnab Patra
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/2138422/+subscriptions
>
>

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

Title:
  Improve docstrings in UpdateManager/Core/utils.py (wrap, twrap, lsmod)

Status in update-manager package in Ubuntu:
  Triaged

Bug description:
  Hi,

  Improved docstrings in UpdateManager/Core/utils.py for better clarity:

  - wrap(): Explained why custom wrapper is needed (textwrap breaks package names on '-')
  - twrap(): Clarified multi-paragraph handling and use cases
  - lsmod(): Documented intentional return of [] on failure

  Pure documentation changes — no code changes, no behavior changes,
  safe for all users.

  Attached: arnab-doc-patch.diff

  Thanks!
  Arnab Patra

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/2138422/+subscriptions





More information about the foundations-bugs mailing list