From e3777b4e92a0d0267f4556e1ba40a5d6b5c601b8 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Sat, 26 Jan 2008 11:23:13 +0000 Subject: Fix merge glitch that let test_urllib fail. --- Lib/urllib.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Lib/urllib.py b/Lib/urllib.py index f9c8ec0..0b66e59 100644 --- a/Lib/urllib.py +++ b/Lib/urllib.py @@ -360,7 +360,8 @@ class URLopener: # According to RFC 2616, "2xx" code indicates that the client's # request was successfully received, understood, and accepted. if (200 <= response.status < 300): - return addinfourl(response.fp, response.msg, "http:" + url) + return addinfourl(response.fp, response.msg, "http:" + url, + response.status) else: return self.http_error( url, response.fp, -- cgit v0.12 git.png' alt='cgit logo'/> index : Qt.git
Qt s a cross-platform application framework that is used for developing application software that can be run on various software and hardware platforms with little or no change in the underlying codebase, while still being a native application with native capabilities and speed.
summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/code/doc_src_qtdbus.qdoc
blob: 4c8c4b0c5a331ef7ebd0527e7b656d9c8b7dfc3c (plain)
1
2
3
4
5
6
7
8
//! [0]
#include <QtDBus>
//! [0]


//! [1]
QT += dbus
//! [1]