]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
doc/dev: no more "import absolute_import"
authorKefu Chai <kchai@redhat.com>
Mon, 24 May 2021 03:37:40 +0000 (11:37 +0800)
committerKefu Chai <kchai@redhat.com>
Mon, 24 May 2021 04:27:40 +0000 (12:27 +0800)
as we've migrated to python3, no need to use

from __future__ import absolute_import

for accessing absolute import

Signed-off-by: Kefu Chai <kchai@redhat.com>
doc/dev/developer_guide/dash-devel.rst

index 4cd81a1dcb53bf798eff8c9fa89e435d884c0876..813a33eff452ab176c2363988c233914e7fe3b45 100644 (file)
@@ -1630,8 +1630,6 @@ log viewer page:
 
 .. code-block:: python
 
-  from __future__ import absolute_import
-
   import collections
 
   import cherrypy
@@ -2022,7 +2020,6 @@ updates its progress:
 
 .. code-block:: python
 
-  from __future__ import absolute_import
   import random
   import time
   import cherrypy