Skip to content

Fixes P4A_FULL_DEBUG that is broken#1462

Merged
tito merged 1 commit into
kivy:masterfrom
tito:fix-full-debug
Nov 22, 2018
Merged

Fixes P4A_FULL_DEBUG that is broken#1462
tito merged 1 commit into
kivy:masterfrom
tito:fix-full-debug

Conversation

@tito

@tito tito commented Nov 16, 2018

Copy link
Copy Markdown
Member

No description provided.

is_critical = kwargs.pop('_critical', False)
tail_n = kwargs.pop('_tail', None)
full_debug = False
if "P4A_FULL_DEBUG" in os.environ:

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor suggestion: we could also write a one-liner that is still very readable:

full_debug = "P4A_FULL_DEBUG" in os.environ

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Look below, it also have an impact on tail_n

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

True story 👍

@AndreMiras AndreMiras left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, I've made a minor suggestion, but you have my ✔️

@tito tito merged commit 7b16f24 into kivy:master Nov 22, 2018
@tito tito deleted the fix-full-debug branch November 22, 2018 12:31
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