Skip to content

Commit

Permalink
remove dirty debug traces
Browse files Browse the repository at this point in the history
  • Loading branch information
lebouquetin committed Jun 13, 2024
1 parent 93e7d69 commit a9b264b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions content/templates/blocks/header.en.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{% include "widgets/page_header.html"
with PRIMARY_TITLE="le service e-mail éthique et libre facturé à l'usage"
SECONDARY_TITLE="pour des e-mails standards et interopérables et un service intégralement basé sur des technologies auto-hébergeables"
THIRD_TITLE="Le service est désormais ouvert !"
%}

6 changes: 3 additions & 3 deletions jssg/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,12 +145,12 @@ def load(cls, path: Path) -> "Document":
# key, value = map(str.strip, line.split("", maxsplit=1))
import re
key, value = map(str.strip, re.split("[\s]", line, maxsplit=1))
print("KEY {} : {} (line is: {})".format(key, value, line))
# FIXME print("KEY {} : {} (line is: {})".format(key, value, line))
metadata[key] = value
elif state == 2:
if line.rstrip().startswith("---"):
# data end block found
print("json reading finished: {}".format(json_data))
# FIXME print("json reading finished: {}".format(json_data))
data = json.loads(json_data)
state = 3
else:
Expand All @@ -159,7 +159,7 @@ def load(cls, path: Path) -> "Document":
if line.startswith("#"):
continue # remove comment lines

print("json data: append {}".format(line))
# FIXME print("json data: append {}".format(line))
json_data += line

else:
Expand Down

0 comments on commit a9b264b

Please sign in to comment.