diff options
Diffstat (limited to 'crocoite/util.py')
-rw-r--r-- | crocoite/util.py | 5 |
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 |