Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
python-poetry
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open
python-poetry
Commits
3738ae79
Commit
3738ae79
authored
Mar 25, 2021
by
Sébastien Eustace
Committed by
Arun Babu Neelicattu
Mar 27, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove plugin deactivation for the new command
parent
19779457
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
13 deletions
+1
-13
poetry/console/application.py
+1
-13
No files found.
poetry/console/application.py
View file @
3738ae79
...
@@ -304,19 +304,7 @@ class Application(BaseApplication):
...
@@ -304,19 +304,7 @@ class Application(BaseApplication):
if
self
.
_plugins_loaded
:
if
self
.
_plugins_loaded
:
return
return
from
cleo.exceptions
import
CommandNotFoundException
self
.
_disable_plugins
=
io
.
input
.
has_parameter_option
(
"--no-plugins"
)
name
=
self
.
_get_command_name
(
io
)
command_name
=
""
if
name
:
try
:
command_name
=
self
.
find
(
name
)
.
name
except
CommandNotFoundException
:
pass
self
.
_disable_plugins
=
(
io
.
input
.
has_parameter_option
(
"--no-plugins"
)
or
command_name
==
"new"
)
if
not
self
.
_disable_plugins
:
if
not
self
.
_disable_plugins
:
from
poetry.plugins.plugin_manager
import
PluginManager
from
poetry.plugins.plugin_manager
import
PluginManager
...
...
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