]> git.ipfire.org Git - ipfire.org.git/blobdiff - source/git/misc.py
Remove lots of unused code.
[ipfire.org.git] / source / git / misc.py
diff --git a/source/git/misc.py b/source/git/misc.py
deleted file mode 100644 (file)
index f055751..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-# -*- coding: utf-8 -*-
-
-# Copyright © 2008 - Steve Frécinaux
-# License: LGPL 2
-
-__all__ = ['issha1']
-
-import re
-
-SHA1_PATTERN = re.compile('^[a-f0-9]{40}$')
-
-def issha1(s):
-    return SHA1_PATTERN.match(s) is not None