[Cryptech-Commits] [wiki] 56/75: Trivial cleanup

git at cryptech.is git at cryptech.is
Fri Oct 8 18:52:22 UTC 2021


This is an automated email from the git hooks/post-receive script.

sra at hactrn.net pushed a commit to branch production
in repository wiki.

commit 61a631cbcf8c584dd8adde13d26d005eb4675935
Author: Rob Austein <sra at hactrn.net>
AuthorDate: Tue Feb 16 06:40:45 2021 +0000

    Trivial cleanup
---
 trac2md.py | 15 +++------------
 1 file changed, 3 insertions(+), 12 deletions(-)

diff --git a/trac2md.py b/trac2md.py
index 5900a19..e16845b 100755
--- a/trac2md.py
+++ b/trac2md.py
@@ -1,17 +1,8 @@
-#!/usr/bin/env python2
+# This started out as https://www.snip2code.com/Snippet/1704331/Convert-trac-markup-to-Markdown/
+# which in turn said "This code mostly taken from patches to pagure_importer by mreynolds".
+# Has mutated considerably since then.
 
-# Untested code from https://www.snip2code.com/Snippet/1704331/Convert-trac-markup-to-Markdown/
-
-# This code mostly taken from patches to pagure_importer by mreynolds
-
-import sys
 import re
-import time
-import requests
-import shutil
-import os
-from base64 import b64decode
-from datetime import datetime
 from urllib.parse import quote
 
 content_linebreak_pattern = re.compile(r"\[\[br\]\]|\\\\", re.I)



More information about the Commits mailing list