aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlice Ferrazzi <alicef@gentoo.org>2017-07-01 01:28:32 +0900
committerAlice Ferrazzi <alicef@gentoo.org>2017-07-01 01:28:32 +0900
commite13ad7ace68303ce074b0048fd04b7bcd168b221 (patch)
tree6efcabccb4001988110f21e534245dde82dc8dce
parentusing os.path.join instead of sticking variable together (diff)
downloadelivepatch-e13ad7ace68303ce074b0048fd04b7bcd168b221.tar.gz
elivepatch-e13ad7ace68303ce074b0048fd04b7bcd168b221.tar.bz2
elivepatch-e13ad7ace68303ce074b0048fd04b7bcd168b221.zip
fix shadowing reserved keyword
-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 8ad0767..7ff5af8 100644
--- a/elivepatch_client/client/checkers.py
+++ b/elivepatch_client/client/checkers.py
@@ -101,5 +101,5 @@ class FileAction(object):
with open(path_to_store, 'w') as f:
f.write(s)
print('working')
- path, file = (os.path.split(path_to_store))
- return path, file
+ path, uncompressed_file = (os.path.split(path_to_store))
+ return path, uncompressed_file