Skip to content

Commit e6f352f

Browse files
committed
Compatibility with older python versions
1 parent ee067b9 commit e6f352f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gearbox/commandmanager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def load_commands(self, namespace):
4747
if hasattr(entry_points, "select"):
4848
entry_points = entry_points.select(group=namespace)
4949
else:
50-
entry_points = entry_points.get(group=namespace, default=[])
50+
entry_points = entry_points.get(namespace, [])
5151
for ep in entry_points:
5252
LOG.debug("found command %r", ep.name)
5353
cmd_name = (

0 commit comments

Comments
 (0)