0026-misc-fix-import-error-pylint-error-62099.patch
passerelle/urls.py | ||
---|---|---|
132 | 132 |
] |
133 | 133 | |
134 | 134 |
if settings.DEBUG and 'debug_toolbar' in settings.INSTALLED_APPS: |
135 |
import debug_toolbar |
|
135 |
import debug_toolbar # pylint: disable=import-error
|
|
136 | 136 | |
137 | 137 |
urlpatterns = [ |
138 | 138 |
url(r'^__debug__/', include(debug_toolbar.urls)), |
passerelle/utils/spooler.py | ||
---|---|---|
16 | 16 | |
17 | 17 |
import subprocess |
18 | 18 | |
19 |
from uwsgidecorators import spool |
|
19 |
from uwsgidecorators import spool # pylint: disable=import-error
|
|
20 | 20 | |
21 | 21 | |
22 | 22 |
@spool |
passerelle/views.py | ||
---|---|---|
63 | 63 |
from .utils import is_authorized, to_json |
64 | 64 | |
65 | 65 |
if 'mellon' in settings.INSTALLED_APPS: |
66 |
from mellon.utils import get_idps |
|
66 |
from mellon.utils import get_idps # pylint: disable=import-error
|
|
67 | 67 |
else: |
68 | 68 | |
69 | 69 |
def get_idps(): |
70 |
- |