Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cli2
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Open Source Software
cli2
Commits
005f1be1
Commit
005f1be1
authored
Jan 15, 2019
by
∞
💻
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bugfix djcli, and other modules that imported cli2, sorry ^^
parent
4b532b60
Pipeline
#1832
passed with stages
in 35 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
cli2/introspection.py
cli2/introspection.py
+2
-1
No files found.
cli2/introspection.py
View file @
005f1be1
...
...
@@ -125,7 +125,8 @@ class Importable:
else
:
ret
=
getattr
(
ret
,
part
,
None
)
if
getattr
(
ret
,
'cli2'
,
None
):
candidate
=
getattr
(
ret
,
'cli2'
,
None
)
if
isinstance
(
candidate
,
Callable
):
return
ret
.
cli2
if
module
!=
ret
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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