]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/dashboard: add an empty line to appease flake8 37611/head
authorKefu Chai <kchai@redhat.com>
Tue, 13 Oct 2020 08:38:55 +0000 (16:38 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 14 Oct 2020 08:24:57 +0000 (16:24 +0800)
silence the warnings like

./controllers/mgr_modules.py:38:5: E301 expected 1 blank line, found 0'
./controllers/user.py:69:5: E301 expected 1 blank line, found 0

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/pybind/mgr/dashboard/controllers/mgr_modules.py
src/pybind/mgr/dashboard/controllers/user.py

index 574be4666469fb1a5580bf9b75b2bcea7d5cb717..b614612d0b72dd056662d575f8cd477ac237f3d7 100644 (file)
@@ -35,6 +35,7 @@ MGR_MODULE_SCHEMA = ([{
 @ControllerDoc("Get details of MGR Module", "MgrModule")
 class MgrModules(RESTController):
     ignore_modules = ['selftest']
+
     @EndpointDoc("List Mgr modules",
                  responses={200: MGR_MODULE_SCHEMA})
     def list(self):
index 4bdea87266ebe458e96c2740f78038c9ed08ba5b..5ee188032d879b1f473fe528ed5be3c072d22d24 100644 (file)
@@ -66,6 +66,7 @@ class User(RESTController):
             raise DashboardException(msg='Role does not exist',
                                      code='role_does_not_exist',
                                      component='user')
+
     @EndpointDoc("Get List Of Users",
                  responses={200: USER_SCHEMA})
     def list(self):