Skip to content

Commit

Permalink
style: Rename ambiguous variable 'l' (PEP 8 E741)
Browse files Browse the repository at this point in the history
  • Loading branch information
bellisk committed Aug 22, 2023
1 parent c99c4bb commit 4ac34a9
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions ckanext/ogdchcommands/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import ckan.plugins as plugins

import ckanext.ogdchcommands.admin_logic as admin
import ckanext.ogdchcommands.logic as l
import ckanext.ogdchcommands.logic as logic
from ckanext.ogdchcommands.cli import get_commands

log = logging.getLogger(__name__)
Expand All @@ -28,11 +28,11 @@ def get_actions(self):
Actions that are used by the commands.
"""
return {
"ogdch_cleanup_harvestjobs": l.ogdch_cleanup_harvestjobs,
"ogdch_cleanup_resources": l.ogdch_cleanup_resources,
"ogdch_cleanup_filestore": l.ogdch_cleanup_filestore,
"cleanup_package_extra": l.cleanup_package_extra,
"ogdch_cleanup_harvestsource": l.ogdch_cleanup_harvestsource,
"ogdch_cleanup_harvestjobs": logic.ogdch_cleanup_harvestjobs,
"ogdch_cleanup_resources": logic.ogdch_cleanup_resources,
"ogdch_cleanup_filestore": logic.ogdch_cleanup_filestore,
"cleanup_package_extra": logic.cleanup_package_extra,
"ogdch_cleanup_harvestsource": logic.ogdch_cleanup_harvestsource,
}

# IClick
Expand Down

0 comments on commit 4ac34a9

Please sign in to comment.