We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 42b51bb commit 753b295Copy full SHA for 753b295
src/manage/aliasutils.py
@@ -66,11 +66,11 @@ def replace(self, **kwargs):
66
@property
67
def script_code(self):
68
if self.mod and self.func:
69
- if not self.mod.isidentifier():
+ if not all(s.isidentifier() for s in self.mod.split(".")):
70
LOGGER.warn("Alias %s has an entrypoint with invalid module "
71
"%r.", self.name, self.mod)
72
return None
73
- if not self.func.isidentifier():
+ if not all(s.isidentifier() for s in self.func.split(".")):
74
LOGGER.warn("Alias %s has an entrypoint with invalid function "
75
"%r.", self.name, self.func)
76
0 commit comments