Page MenuHomePhorge

TypeError: an integer is required / T6989 Bugs logged for pykolab
ClosedPublic

Authored by ghane on Sep 30 2022, 1:10 PM.
Tags
None
Referenced Files
F15293169: D3851.diff
Fri, Sep 13, 8:43 AM
F15292509: D3851.id11120.diff
Fri, Sep 13, 8:37 AM
F15292506: D3851.id11060.diff
Fri, Sep 13, 8:37 AM
Unknown Object (File)
Thu, Aug 29, 10:33 PM
Unknown Object (File)
Sun, Aug 25, 6:08 AM
Unknown Object (File)
Aug 7 2024, 4:38 PM
Unknown Object (File)
Aug 7 2024, 4:38 PM
Unknown Object (File)
Aug 7 2024, 4:37 PM
Subscribers
None

Details

Summary
res.append(c)

Just remove chr()
c is single character of a string, but not an integer value of a character.
I could see via grep, decode(s) is used with folders in modules used for imap

for c in s:

See also https://git.kolab.org/diffusion/P/browse/pykolab-0.7/pykolab/imap_utf7.py line 52 , 74

Diff Detail

Repository
rP pykolab
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

ghane requested review of this revision.Sep 30 2022, 1:10 PM
ghane created this revision.
This revision is now accepted and ready to land.Sep 30 2022, 2:07 PM
This revision was automatically updated to reflect the committed changes.

I ran into an integer error on other tests,
so I corrected this with this patch.

This revision is now accepted and ready to land.Oct 16 2022, 9:46 AM
This revision was automatically updated to reflect the committed changes.