Skip to content
This repository was archived by the owner on Oct 13, 2025. It is now read-only.

Conversation

@timwoj
Copy link
Member

@timwoj timwoj commented Dec 4, 2024

No description provided.

ext/zeek.py Outdated
self.update_type_map(name)

indextext = self.get_index_text(name)
#indextext = self.get_index_text(name)
Copy link
Member Author

Choose a reason for hiding this comment

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

This line can probably just be deleted, like the others that were unused.

Copy link
Member

@ckreibich ckreibich left a comment

Choose a reason for hiding this comment

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

Looks good to me. One minor nit in there that we could add but isn't important.

from pygments.lexer import RegexLexer, bygroups, include, words, bygroups
from pygments.token import *
from pygments.lexer import RegexLexer, bygroups, include, words
from pygments.token import (
Copy link
Member

Choose a reason for hiding this comment

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

Huh, this is quite cool — it actually expanded the *?

Copy link
Member Author

Choose a reason for hiding this comment

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

No, this one I had to do manually ☹️

(
words(
(
"any",
Copy link
Member

Choose a reason for hiding this comment

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

This is one of the rare places where the earlier form was slightly more meaningful because it grouped by context within a line. But, no biggie.

@timwoj timwoj force-pushed the topic/timw/python-upgrade branch from b9fd865 to fe96796 Compare December 10, 2024 03:37
@timwoj timwoj force-pushed the topic/timw/python-upgrade branch from fe96796 to aceb13f Compare December 10, 2024 03:37
@timwoj timwoj merged commit 8ee119c into master Dec 10, 2024
11 checks passed
@timwoj timwoj deleted the topic/timw/python-upgrade branch December 10, 2024 03:52
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants