kiwi-el8/kiwi/volume_manager
Alberto Planas 0c095a98b1 Replace @staticmethod with @classmethod when needed
@classmethod are used in Python to represent methods that can
query and update the class (cls parameter). Is expected to be
used for metaprograming, or advanced techniques that require the
access to the class itself, before we have an instance.

@staticmethod are used to associate a function to a class. It will
not be have access to the instance (self) not the class (cls). In
other programming languages are known as class methods.

This patch replace all the @classmethod with @staticmethod when
there is not need to access to the cls parameter, because the
intention is to be used as normal functions.
2019-03-26 16:27:43 +01:00
..
__init__.py volume_manager API docs cleanup 2018-04-19 17:06:42 +02:00
base.py volume_manager API docs cleanup 2018-04-19 17:06:42 +02:00
btrfs.py Replace @staticmethod with @classmethod when needed 2019-03-26 16:27:43 +01:00
lvm.py Eliminate redundant code 2018-10-02 06:11:49 -04:00