Remove extra space from the line that defines the method name and
parameters as the extra space between the keyword "def" and method name
makes it impossible to find this method through a search.
Signed-off-by: Rishabh Dave <ridave@redhat.com>
(cherry picked from commit
94ab44caf5a6c8c5ebf0b7c451f107a1e12bfb44)
# remove the leading '/', and trailing whitespaces
return path[1:].rstrip()
- def _get_subvolume_info(self, vol_name, subvol_name, group_name=None):
+ def _get_subvolume_info(self, vol_name, subvol_name, group_name=None):
args = ["subvolume", "info", vol_name, subvol_name]
if group_name:
args.append(group_name)