Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
workflow
representation
Commits
d378f770
Commit
d378f770
authored
Jul 31, 2020
by
payno
Browse files
[parser] fix typo, the add on are named ppfaddon instead of pypushflowaddon
parent
a25e4d2b
Changes
1
Hide whitespace changes
Inline
Side-by-side
scheme/parser.py
View file @
d378f770
...
...
@@ -56,14 +56,14 @@ class Parser(object):
"""
aliases
=
{}
try
:
import
p
ypushflow
addon
import
p
pf
addon
except
ImportError
:
return
aliases
else
:
import
pkgutil
for
importer
,
modname
,
ispkg
in
pkgutil
.
iter_modules
(
p
ypushflow
addon
.
__path__
):
for
importer
,
modname
,
ispkg
in
pkgutil
.
iter_modules
(
p
pf
addon
.
__path__
):
try
:
mod_name
=
'.'
.
join
((
p
ypushflow
addon
.
__name__
,
modname
,
'aliases'
))
mod_name
=
'.'
.
join
((
p
pf
addon
.
__name__
,
modname
,
'aliases'
))
module
=
importlib
.
import_module
(
mod_name
)
except
ImportError
:
_logger
.
warning
(
modname
+
' does not fit the add-on design, skip it'
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment