Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src/sugar/network.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/sugar/network.py')
-rw-r--r--src/sugar/network.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sugar/network.py b/src/sugar/network.py
index bde8c9f..b72acad 100644
--- a/src/sugar/network.py
+++ b/src/sugar/network.py
@@ -242,7 +242,7 @@ class GlibURLDownloader(gobject.GObject):
self.cleanup(remove=True)
def _get_filename_from_headers(self, headers):
- if not headers.has_key("Content-Disposition"):
+ if 'Content-Disposition' not in headers:
return None
ftag = "filename="