aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlice Ferrazzi <alicef@gentoo.org>2017-08-07 01:42:21 +0900
committerAlice Ferrazzi <alicef@gentoo.org>2017-08-07 01:42:21 +0900
commit8f60be27308be8deebf5b3ddddb67d480a05f3b1 (patch)
treedbdc718a56d0fdec235086ecda333c2dce19348b
parentchanged function and variable name to main_patch (diff)
downloadelivepatch-8f60be27308be8deebf5b3ddddb67d480a05f3b1.tar.gz
elivepatch-8f60be27308be8deebf5b3ddddb67d480a05f3b1.tar.bz2
elivepatch-8f60be27308be8deebf5b3ddddb67d480a05f3b1.zip
renamed function
-rw-r--r--elivepatch_client/client/checkers.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/elivepatch_client/client/checkers.py b/elivepatch_client/client/checkers.py
index 648c80f..61e9a02 100644
--- a/elivepatch_client/client/checkers.py
+++ b/elivepatch_client/client/checkers.py
@@ -57,7 +57,7 @@ class Kernel(object):
print('gz extension')
# uncompress the gzip config file
# return configuration temporary folder
- temporary_config = f_action.ungz(temporary_config)
+ temporary_config = f_action.decompress_gz(temporary_config)
else:
# read already uncompressed configuration
with open(self.config_fullpath, 'rb') as in_file:
@@ -107,7 +107,7 @@ class FileAction(object):
self.full_path = full_path
pass
- def ungz(self, temporary):
+ def decompress_gz(self, temporary):
"""
Uncompress gzipped configuration
:return: Uncompressed configuration file path