Skip to content

Fix indentation of the empty-group branch in dbi.py - #132

Merged
ivanhrabcak merged 1 commit into
EdupageAPI:masterfrom
Koky05:fix-dbi-indent-and-comment
Oct 12, 2026
Merged

ivanhrabcak merged 1 commit into
EdupageAPI:masterfrom
Koky05:fix-dbi-indent-and-comment

Conversation

@Koky05

@Koky05 Koky05 commented Oct 12, 2026 •

Copy link
Copy Markdown
Contributor

The body of the empty-group check uses 3 spaces instead of 12:

        if item_group == []:
           return {}

Shipped in 0.13.2 via #126. No behaviour change; 48 tests pass.

The body of `if item_group == []:` uses 3 spaces instead of 12.

    if item_group == []:
       return {}

Shipped in 0.13.2 via EdupageAPI#126. No behaviour change.
@Koky05
Koky05 force-pushed the fix-dbi-indent-and-comment branch from 5ab4e6c to 6f57c87 Compare October 12, 2026 10:57
@Koky05 Koky05 changed the title Fix indentation and document the empty-group special case in dbi.py Fix indentation of the empty-group branch in dbi.py Oct 12, 2026
@ivanhrabcak

Copy link
Copy Markdown
Member

Nice catch, thanks

@ivanhrabcak
ivanhrabcak merged commit 423deeb into EdupageAPI:master Oct 12, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants