From 22a93b02faec879d671864d647b027844e15c1ae Mon Sep 17 00:00:00 2001 From: Magnus Hagander Date: Sun, 27 Nov 2011 19:58:57 +0100 Subject: [PATCH] Don't index the ftp browser for now - it doesn't really contain anything useful to search --- pgweb/downloads/struct.py | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/pgweb/downloads/struct.py b/pgweb/downloads/struct.py index 8a74e859..3d451dab 100644 --- a/pgweb/downloads/struct.py +++ b/pgweb/downloads/struct.py @@ -12,10 +12,5 @@ def get_struct(): yield ('download/products/%s/' % c.id, 0.3) - # FTP browser - f = open(settings.FTP_PICKLE, "rb") - allnodes = pickle.load(f) - f.close() - - for d in allnodes.keys(): - yield ('ftp/%s' % d, None) + # Don't index the ftp browser for now - it doesn't really contain + # anything useful to search -- 2.39.5