summaryrefslogtreecommitdiff
path: root/crocoite/util.py
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2018-12-01 19:57:24 +0100
committerLars-Dominik Braun <lars@6xq.net>2018-12-01 19:57:24 +0100
commit2d5c19105228e47df42218fd6b8e0b41d3ba394f (patch)
tree88e6141de2b5f5eb79703935d8a6d420c1f60341 /crocoite/util.py
parent51ffadcdb64210824d9982f5417bda81dae13b2e (diff)
downloadcrocoite-2d5c19105228e47df42218fd6b8e0b41d3ba394f.tar.gz
crocoite-2d5c19105228e47df42218fd6b8e0b41d3ba394f.tar.bz2
crocoite-2d5c19105228e47df42218fd6b8e0b41d3ba394f.zip
util: Remove unused function
Diffstat (limited to 'crocoite/util.py')
-rw-r--r--crocoite/util.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/crocoite/util.py b/crocoite/util.py
index 18a051a..da6d54a 100644
--- a/crocoite/util.py
+++ b/crocoite/util.py
@@ -26,11 +26,6 @@ import random, sys
import hashlib, pkg_resources
from urllib.parse import urlsplit, urlunsplit
-def randomString (length=None, chars='abcdefghijklmnopqrstuvwxyz'):
- if length is None:
- length = random.randint (16, 32)
- return ''.join (map (lambda x: random.choice (chars), range (length)))
-
def packageUrl (path):
"""
Create URL for package data stored into WARC