summaryrefslogtreecommitdiff
path: root/pgweb/downloads/struct.py
diff options
context:
space:
mode:
authorMagnus Hagander2011-11-27 18:58:57 +0000
committerMagnus Hagander2011-11-27 18:58:57 +0000
commit22a93b02faec879d671864d647b027844e15c1ae (patch)
tree56ae11d3e81e80255cdadf711e49d8a5656cb8b3 /pgweb/downloads/struct.py
parent68c49bbebda6b2da7b47da2a123f7a3c35ca85e1 (diff)
Don't index the ftp browser for now - it doesn't really contain
anything useful to search
Diffstat (limited to 'pgweb/downloads/struct.py')
-rw-r--r--pgweb/downloads/struct.py9
1 files 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