Skip to content

Commit 8cdbc7e

Browse files
committed
Remove unused function #798
Reference: #798 Signed-off-by: Philippe Ombredanne <[email protected]>
1 parent bfe5f91 commit 8cdbc7e

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

vulnerabilities/forms.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,6 @@ def get_known_package_types():
2121
return pkg_types
2222

2323

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-
3424
class PackageForm(forms.Form):
3525

3626
type = forms.ChoiceField(choices=get_known_package_types)

0 commit comments

Comments
 (0)