diff options
author | Alice Ferrazzi <alicef@gentoo.org> | 2017-06-30 17:55:04 +0900 |
---|---|---|
committer | Alice Ferrazzi <alicef@gentoo.org> | 2017-06-30 17:55:04 +0900 |
commit | e17aa0bd74e7175e04586a5f74c2ba5247099658 (patch) | |
tree | bc7ba85c15781885ea8734c7d991156f424edc29 | |
parent | adding debug option to the server (diff) | |
download | elivepatch-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.py | 4 |
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 |