Skip to content

Commit

Permalink
aard2_slob.py: some cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
ilius committed Dec 22, 2024
1 parent d19987e commit 9a1ecb5
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions pyglossary/plugins/aard2_slob.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,15 +94,13 @@
]

t_created_at = "created.at"
t_converted_at = "converted.at"
t_label = "label"
t_created_by = "created.by"
t_copyright = "copyright"
t_license_name = "license.name"
t_license_url = "license.url"
t_uri = "uri"
t_edition = "edition"
t_python = "version.python"

supported_tags = {
t_label,
Expand Down Expand Up @@ -321,12 +319,6 @@ def _open(self, filepath: str, namePostfix: str) -> slob.Writer:
# we use source filename as "uri", since it is stable (most likely)
slobWriter.tag(t_uri, dic_uri)

# import sys
# slobWriter.tag(t_python, sys.version)

# from datetime import datetime, timezone
# slobWriter.tag(t_converted_at, datetime.now(timezone.utc).isoformat())

return slobWriter

def open(self, filename: str) -> None:
Expand Down

0 comments on commit 9a1ecb5

Please sign in to comment.