Commits

Donald Stufft committed aba46f8

If display doesn't get a name don't throw an error

  • Participants
  • Parent commits f1d9036

Comments (0)

Files changed (1)

             if name is None:
                 # check that we get one - and only one - name argument
                 name = self.form.get('name', None)
+                if name is None:
+                    raise NotFound
             # Try to locate the normalized name
             found = self.store.find_package(name)
             if not found or found[0] == name: