File tree Expand file tree Collapse file tree 1 file changed +1
-14
lines changed Expand file tree Collapse file tree 1 file changed +1
-14
lines changed Original file line number Diff line number Diff line change @@ -244,11 +244,6 @@ def orphan_dependencies(packages):
244
244
return pkgs
245
245
246
246
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
-
252
247
REPORT_OLD = DeveloperReport (
253
248
'old' , 'Old' , 'Packages last built more than two years ago' , old )
254
249
@@ -328,13 +323,6 @@ def unused_python2_packages(packages):
328
323
['Orphan dependencies' ],
329
324
['orphandeps' ])
330
325
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
-
338
326
339
327
def available_reports ():
340
328
return (REPORT_OLD ,
@@ -349,5 +337,4 @@ def available_reports():
349
337
REPORT_SIG_TIME ,
350
338
NON_EXISTING_DEPENDENCIES ,
351
339
REBUILDERD_PACKAGES ,
352
- ORPHAN_REBUILDERD_PACKAGES ,
353
- UNUSED_PYTHON2_PACKAGES )
340
+ ORPHAN_REBUILDERD_PACKAGES )
You can’t perform that action at this time.
0 commit comments