We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bfe5f91 commit 8cdbc7eCopy full SHA for 8cdbc7e
vulnerabilities/forms.py
@@ -21,16 +21,6 @@ def get_known_package_types():
21
return pkg_types
22
23
24
-def get_package_namespaces():
25
- pkg_namespaces = [
26
- (i.namespace, i.namespace)
27
- for i in Package.objects.distinct("namespace").all()
28
- if i.namespace
29
- ]
30
- pkg_namespaces.append((None, "package namespace"))
31
- return pkg_namespaces
32
-
33
34
class PackageForm(forms.Form):
35
36
type = forms.ChoiceField(choices=get_known_package_types)
0 commit comments