Skip to content

Commit 8da33d2

Browse files
committed
style: Rename ambiguous variable 'l' (PEP 8 E741)
1 parent c364fb7 commit 8da33d2

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

ckanext/ogdchcommands/plugin.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
import ckan.plugins as plugins
77

88
import ckanext.ogdchcommands.admin_logic as admin
9-
import ckanext.ogdchcommands.logic as l
9+
import ckanext.ogdchcommands.logic as logic
1010
from ckanext.ogdchcommands.cli import get_commands
1111

1212
log = logging.getLogger(__name__)
@@ -28,11 +28,11 @@ def get_actions(self):
2828
Actions that are used by the commands.
2929
"""
3030
return {
31-
"ogdch_cleanup_harvestjobs": l.ogdch_cleanup_harvestjobs,
32-
"ogdch_cleanup_resources": l.ogdch_cleanup_resources,
33-
"ogdch_cleanup_filestore": l.ogdch_cleanup_filestore,
34-
"cleanup_package_extra": l.cleanup_package_extra,
35-
"ogdch_cleanup_harvestsource": l.ogdch_cleanup_harvestsource,
31+
"ogdch_cleanup_harvestjobs": logic.ogdch_cleanup_harvestjobs,
32+
"ogdch_cleanup_resources": logic.ogdch_cleanup_resources,
33+
"ogdch_cleanup_filestore": logic.ogdch_cleanup_filestore,
34+
"cleanup_package_extra": logic.cleanup_package_extra,
35+
"ogdch_cleanup_harvestsource": logic.ogdch_cleanup_harvestsource,
3636
}
3737

3838
# IClick

0 commit comments

Comments
 (0)