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

Bug#490279: marked as done (mail pipe uses deprecated get_type, causing warnings to be bounced to the sender)



Your message dated Fri, 11 Jul 2008 10:34:59 +0200
with message-id <20080711083459.GO17010@ouaza.com>
and subject line Re: Bug#490279: mail pipe uses deprecated get_type, causing warnings to be bounced to the sender
has caused the Debian Bug report #490279,
regarding mail pipe uses deprecated get_type, causing warnings to be bounced to the sender
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.)


-- 
490279: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=490279
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: qa.debian.org
Severity: normal
Tags: patch

Today I sent a message to pts-news@qa.d.o and it bounced with:
-------------------------------------------------------
  pipe to | /org/packages.qa.debian.org/www/bin/receive_news.py
    generated by _news@packages.qa.debian.org

The following text was generated during the delivery attempt:

------ pipe to | /org/packages.qa.debian.org/www/bin/receive_news.py
       generated by _news@packages.qa.debian.org ------

/srv/packages.qa.debian.org/www/bin/common.py:37: DeprecationWarning:
get_type()
+deprecated; use get_content_type()
  if part.get_type("text/plain") == "text/plain":
/srv/packages.qa.debian.org/www/bin/common.py:37: DeprecationWarning:
get_type()
+deprecated; use get_content_type()
  if part.get_type("text/plain") == "text/plain":
-------------------------------------------------------

The message is shown on the QA page so it worked otherwise.
(Could have used Severity: minor, but bounces are worrying)


The obvious patch is to s/get_type/get_content_type/


TIA,
    dam



--- End Message ---
--- Begin Message ---
On Fri, 11 Jul 2008, Damyan Ivanov wrote:
> The obvious patch is to s/get_type/get_content_type/

Except that you have to remove the argument. Fixed now.

Thanks for the report.

Cheers,
-- 
Raphaël Hertzog

Le best-seller français mis à jour pour Debian Etch :
http://www.ouaza.com/livre/admin-debian/


--- End Message ---

Reply to: