summaryrefslogtreecommitdiff
path: root/python/curl
diff options
context:
space:
mode:
authorOleg Pudeyev <oleg@bsdpower.com>2013-09-25 19:58:52 -0400
committerOleg Pudeyev <oleg@bsdpower.com>2013-09-25 19:58:52 -0400
commit94199b435a713695b71029301246eb40309b0f4e (patch)
tree53ccbb58d02ab25c4cc8ad11cf07c9fb9446b87d /python/curl
parented341d62bd63e37d4f65ea93e04f84ccd3450e52 (diff)
downloadpycurl-94199b435a713695b71029301246eb40309b0f4e.tar.gz
Make pylint happier
Diffstat (limited to 'python/curl')
-rw-r--r--python/curl/__init__.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/python/curl/__init__.py b/python/curl/__init__.py
index 31b9d49..7f307b1 100644
--- a/python/curl/__init__.py
+++ b/python/curl/__init__.py
@@ -157,7 +157,8 @@ class Curl:
def close(self):
"Close a session, freeing resources."
- if self.handle: self.handle.close()
+ if self.handle:
+ self.handle.close()
self.handle = None
self.hdr = ""
self.payload = ""