Skip to content

Commit 50e0cf7

Browse files
committed
devel: drop unused python2 modules dashboard
1 parent 3def772 commit 50e0cf7

File tree

1 file changed

+1
-14
lines changed

1 file changed

+1
-14
lines changed

devel/reports.py

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -244,11 +244,6 @@ def orphan_dependencies(packages):
244244
return pkgs
245245

246246

247-
def unused_python2_packages(packages):
248-
required = Depend.objects.all().values('name')
249-
return packages.filter(pkgname__startswith='python2').exclude(pkgname__in=required)
250-
251-
252247
REPORT_OLD = DeveloperReport(
253248
'old', 'Old', 'Packages last built more than two years ago', old)
254249

@@ -328,13 +323,6 @@ def unused_python2_packages(packages):
328323
['Orphan dependencies'],
329324
['orphandeps'])
330325

331-
UNUSED_PYTHON2_PACKAGES = DeveloperReport(
332-
'unused-python2',
333-
'Unused Python2 packages',
334-
'python2 modules which are not used required by any other packages in the repository',
335-
unused_python2_packages,
336-
personal=False)
337-
338326

339327
def available_reports():
340328
return (REPORT_OLD,
@@ -349,5 +337,4 @@ def available_reports():
349337
REPORT_SIG_TIME,
350338
NON_EXISTING_DEPENDENCIES,
351339
REBUILDERD_PACKAGES,
352-
ORPHAN_REBUILDERD_PACKAGES,
353-
UNUSED_PYTHON2_PACKAGES)
340+
ORPHAN_REBUILDERD_PACKAGES)

0 commit comments

Comments
 (0)