path: root/glustolibs-gluster/glustolibs/gluster/
diff options
authorValerii Ponomarov <>2019-11-22 22:02:02 +0530
committerValerii Ponomarov <>2019-11-28 17:48:26 +0530
commit7478c9fafaebeab1054509fc92b2767d80c60c4d (patch)
treed03f5be9d58daf62408bf0ffb849c0eee89592af /glustolibs-gluster/glustolibs/gluster/
parent2d04a06998a4c114a8aa22cb7cd2d58d9788ec43 (diff)
[py2to3] Refactor
Following changes were implemented: - Delete unused imports and place used ones in the alphabetical order. Imports are splitted into 3 groups: built-ins, third-parties and local modules/libs. - Make changes to support py3 in addition to py2. - Minimize number of code lines keeping the same behaviour and improving readability. - Add possibility to get 'bound' (cls) methods using 'get_super_method' staticmethod from base class. Before it was possible to call only unbound (self) methods. - Update '' module as PoC for running base class bound methods in both - py2 and py3. Now this module py2/3 compatible. Change-Id: I1b66b3a91084b2487c26bec8763ab2b4e12ac482 Signed-off-by: Valerii Ponomarov <>
Diffstat (limited to 'glustolibs-gluster/glustolibs/gluster/')
0 files changed, 0 insertions, 0 deletions