From 3721fba68c86438cfecd2cb5f9a1e36a082c6d2f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Stefan=20K=C3=B6gl?= Date: Sat, 30 Aug 2014 10:30:57 +0200 Subject: [PATCH] [Migration] remove unused method is_couchdb_id() --- mygpo/db/couchdb/utils.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/mygpo/db/couchdb/utils.py b/mygpo/db/couchdb/utils.py index c2e41b21..1c9c3ef4 100644 --- a/mygpo/db/couchdb/utils.py +++ b/mygpo/db/couchdb/utils.py @@ -16,9 +16,6 @@ # import os.path -import operator -import string -import functools from couchdbkit.loaders import FileSystemDocsLoader from couchdbkit.ext.django import loading @@ -29,11 +26,6 @@ import logging logger = logging.getLogger(__name__) -def is_couchdb_id(id_str): - f = functools.partial(operator.contains, string.hexdigits) - return len(id_str) == 32 and all(map(f, id_str)) - - def sync_design_docs(): """ synchronize the design docs for all databases """ -- 2.11.4.GIT