Donald Stufft avatar Donald Stufft committed 048081f

remove no longer used view

Comments (0)

Files changed (1)

             if action in {
-                    "home", "browse", "rss", "index", "search", "submit",
+                    "home", "browse", "rss", "search", "submit",
                     "doap", "display_pkginfo", "submit_pkg_info", "remove_pkg",
                     "pkg_edit", "verify", "submit_form", "display",
                     "register_form", "user", "user_form",
                             requires_python=release.get('requires_python', ''))
-    def index(self, nav_current='index', releases=None):
-        ''' Print up an index page
-        '''
-        self.nav_current = nav_current
-        if releases is None:
-            spec = self.form_metadata()
-            if not spec.has_key('_pypi_hidden'):
-                spec['_pypi_hidden'] = False
-            i=0
-            l =
-            if len(l) == 1:
-                self.form['name'] = l[0]['name']
-                self.form['version'] = l[0]['version']
-                return self.display()
-        else:
-            l = releases
-        data = dict(title="Index of Packages", matches=l)
-        if 'name' in self.form:
-            data['name'] = self.form['name']
-        self.write_template('', **data)
     STOPWORDS = set([
         "a", "and", "are", "as", "at", "be", "but", "by",
         "for", "if", "in", "into", "is", "it",
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.