[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#626532: marked as done (python-apt: get_changelog doesn't work for Py3k)



Your message dated Fri, 27 May 2011 14:51:48 +0000
with message-id <E1QPyOC-0002FX-HF@franck.debian.org>
and subject line Bug#626532: fixed in python-apt 0.8.0
has caused the Debian Bug report #626532,
regarding python-apt: get_changelog doesn't work for Py3k
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
626532: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=626532
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: python-apt
Version: 0.8.0~exp4
Severity: important
Tags: patch

With Py3k, there is an infinite loop inside of get_changelog.
It's a bytes vs. string issue I guess.
=== modified file 'apt/package.py'
--- apt/package.py	2011-04-12 13:23:17 +0000
+++ apt/package.py	2011-05-12 17:16:32 +0000
@@ -1142,7 +1142,7 @@
                         return u""
                     # Read changelog line by line
                     line_raw = changelog_file.readline()
-                    if line_raw == "":
+                    if not line_raw:
                         break
                     # The changelog is encoded in utf-8, but since there isn't
                     # any http header, urllib2 seems to treat it as ascii


--- End Message ---
--- Begin Message ---
Source: python-apt
Source-Version: 0.8.0

We believe that the bug you reported is fixed in the latest version of
python-apt, which is due to be installed in the Debian FTP archive:

python-apt-common_0.8.0_all.deb
  to main/p/python-apt/python-apt-common_0.8.0_all.deb
python-apt-dbg_0.8.0_amd64.deb
  to main/p/python-apt/python-apt-dbg_0.8.0_amd64.deb
python-apt-dev_0.8.0_all.deb
  to main/p/python-apt/python-apt-dev_0.8.0_all.deb
python-apt-doc_0.8.0_all.deb
  to main/p/python-apt/python-apt-doc_0.8.0_all.deb
python-apt_0.8.0.dsc
  to main/p/python-apt/python-apt_0.8.0.dsc
python-apt_0.8.0.tar.gz
  to main/p/python-apt/python-apt_0.8.0.tar.gz
python-apt_0.8.0_amd64.deb
  to main/p/python-apt/python-apt_0.8.0_amd64.deb
python3-apt-dbg_0.8.0_amd64.deb
  to main/p/python-apt/python3-apt-dbg_0.8.0_amd64.deb
python3-apt_0.8.0_amd64.deb
  to main/p/python-apt/python3-apt_0.8.0_amd64.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 626532@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Julian Andres Klode <jak@debian.org> (supplier of updated python-apt package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

Format: 1.8
Date: Fri, 27 May 2011 16:12:46 +0200
Source: python-apt
Binary: python-apt python-apt-doc python-apt-dbg python-apt-dev python-apt-common python3-apt python3-apt-dbg
Architecture: source amd64 all
Version: 0.8.0
Distribution: unstable
Urgency: low
Maintainer: jak@debian.org
Changed-By: Julian Andres Klode <jak@debian.org>
Description: 
 python-apt - Python interface to libapt-pkg
 python-apt-common - Python interface to libapt-pkg (locales)
 python-apt-dbg - Python interface to libapt-pkg (debug extension)
 python-apt-dev - Python interface to libapt-pkg (development files)
 python-apt-doc - Python interface to libapt-pkg (API documentation)
 python3-apt - Python 3 interface to libapt-pkg
 python3-apt-dbg - Python 3 interface to libapt-pkg (debug extension)
Closes: 597054 625225 626430 626532
Changes: 
 python-apt (0.8.0) unstable; urgency=low
 .
   * Upload to unstable
 .
   [ Julian Andres Klode ]
   * Increase Breaks for update-notifier to 0.99.3debian9
   * utils/get_debian_mirrors.py: Adjust for new Alioth SCM urls
   * debian/control: Standards-Version 3.9.2
   * Fix Lintian overrides
   * Fix spelling errors reported by Lintian (sep[a->e]rated, overrid[d]en)
   * po/urd.po: Remove, ur.po is the correct file
   * debian/source/format: Add, set it to "3.0 (native)"
 .
   [ Tshepang Lekhonkhobe ]
   * Fix get_changelog in Python 3 (Closes: #626532)
   * apt/package.py: fix a few typos [formated->formatted] (Closes: #597054)
   * doc/source/tutorials/contributing.rst: minor improvements (Closes: #625225)
     - one typo [2to => 2to3], one broken link [pep8.py link]
 .
   [ Translation updates ]
   * Esperanto (Closes: #626430)
Checksums-Sha1: 
 960f1a2b80117fc4d1be44a71f90f419961c6f7a 1297 python-apt_0.8.0.dsc
 00d818ed8bd48a1d3b81d50b40405d6f7a72dc29 352022 python-apt_0.8.0.tar.gz
 414796e68a5a1c8f2b50e377744b4a48238bdbbd 305024 python-apt_0.8.0_amd64.deb
 3b66ee938545d9594e311795835ef9a7d6b9f1d0 224166 python-apt-doc_0.8.0_all.deb
 eb0061e982f601c8f8088da8ffe895cb558e5fc1 4068862 python-apt-dbg_0.8.0_amd64.deb
 951a85afe9a0e499108edd4bcce77dfe2a18a8cc 7628 python-apt-dev_0.8.0_all.deb
 ae487e7c06063cd9dd8797bf9a542538b1854cec 87900 python-apt-common_0.8.0_all.deb
 b3fd1559b04e0c1603fd080332e754b3b01386e5 184720 python3-apt_0.8.0_amd64.deb
 1a6f232c967fb24e2495ab527b40fb80ebcb930e 2030074 python3-apt-dbg_0.8.0_amd64.deb
Checksums-Sha256: 
 c40fb11eee4c80ed72d7871faae0249b31035660a5ef5df5102e4f670be03ba9 1297 python-apt_0.8.0.dsc
 152e2d64896b1128900c3cd550a6abc23dceec5248da5a09c265cd053f3a2612 352022 python-apt_0.8.0.tar.gz
 ff7bc106460b4b593f894a26024aff239b7dca11efcefcaa2bb2e8abb4b62f41 305024 python-apt_0.8.0_amd64.deb
 2b3ce3901f94c9232ee57644d759180f0eb3ecf43c3524756321fb9ac2cb43eb 224166 python-apt-doc_0.8.0_all.deb
 d7adc7bc05d9a6766978fccfdf0e9b4b131bb111ee955ad6e7db316f5753efa1 4068862 python-apt-dbg_0.8.0_amd64.deb
 26c84b0bdc9c0b5ef69a2ac8618b870eb2fbe5084caee5873019cfe49d651641 7628 python-apt-dev_0.8.0_all.deb
 02df8ddd5a3d4691208e50ca9fefaa7e4d8ebd44c927b3fe0293bddf2225ca43 87900 python-apt-common_0.8.0_all.deb
 ea68c65df88102787c8643fe27db7fe2820da014b4406307a7ae63890f1463fb 184720 python3-apt_0.8.0_amd64.deb
 334018ba78abcc8ee08f15a3318c085ea33b1717767c1f35698baebc1c325532 2030074 python3-apt-dbg_0.8.0_amd64.deb
Files: 
 3950ef3153ad2ae8ee4c83b220199f8f 1297 python standard python-apt_0.8.0.dsc
 43b67317f23443ff0e6f50b5c45fab80 352022 python standard python-apt_0.8.0.tar.gz
 4da7f7c89b75240abecf69dcef48f281 305024 python standard python-apt_0.8.0_amd64.deb
 0f2b0a05e5a6fce02af9ab03f9bb7fb1 224166 doc optional python-apt-doc_0.8.0_all.deb
 26b447757ea84e3df29e35b4b80224f5 4068862 debug extra python-apt-dbg_0.8.0_amd64.deb
 58555af87c8a8ff31a9c8fd54b358624 7628 python optional python-apt-dev_0.8.0_all.deb
 220c396d3f3610dfc94c5e1f7590e675 87900 python optional python-apt-common_0.8.0_all.deb
 a99408c4165ced34d861cb815a60a949 184720 python optional python3-apt_0.8.0_amd64.deb
 4067c58a2d5e1384f7ae98d79801a8d6 2030074 debug extra python3-apt-dbg_0.8.0_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iEYEAREDAAYFAk3fs2sACgkQrCpf/gCCPsIWFwCfSXFxvi/IHKuwP0KNRLUilzhh
3dwAniuChk7anrhuFbzuElD7+1tIklSB
=JWQJ
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: