aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlice Ferrazzi <alicef@gentoo.org>2017-06-30 17:55:04 +0900
committerAlice Ferrazzi <alicef@gentoo.org>2017-06-30 17:55:04 +0900
commite17aa0bd74e7175e04586a5f74c2ba5247099658 (patch)
treebc7ba85c15781885ea8734c7d991156f424edc29
parentadding debug option to the server (diff)
downloadelivepatch-e17aa0bd74e7175e04586a5f74c2ba5247099658.tar.gz
elivepatch-e17aa0bd74e7175e04586a5f74c2ba5247099658.tar.bz2
elivepatch-e17aa0bd74e7175e04586a5f74c2ba5247099658.zip
renamed file variable as was shadowing built-in keyword
-rw-r--r--elivepatch_server/resources/livepatch.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/elivepatch_server/resources/livepatch.py b/elivepatch_server/resources/livepatch.py
index 00431cf..5c512a8 100644
--- a/elivepatch_server/resources/livepatch.py
+++ b/elivepatch_server/resources/livepatch.py
@@ -28,8 +28,8 @@ class PaTch(object):
def get_lp_status(self):
return self.livepatch_status
- def update_lp_status(self, file):
- if os.path.isfile(file):
+ def update_lp_status(self, livepatch):
+ if os.path.isfile(livepatch):
self.livepatch_status = 'done'
return self.livepatch_status