Edgewall Software
Modify

Opened 10 years ago

Closed 10 years ago

#8950 closed enhancement (cantfix)

Hide DeprecationWarnings for trac-admin

Reported by: Thijs Triemstra <lists@…> Owned by:
Priority: normal Milestone:
Component: admin/console Version: 0.11-stable
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:

Description

When I run trac-admin hotcopy it prints Python 2.6 DeprecationWarnings that shouldn't be exposed to an average/default user.

/usr/local/lib/python2.6/site-packages/MySQL_python-1.2.2-py2.6-linux-x86_64.egg/MySQLdb/__init__.py:34:
DeprecationWarning: the sets module is deprecated
Hotcopying /var/trac/acidswf to files/acidswf ...
Hotcopy done.

Any way to hide those?

Attachments (0)

Change History (1)

comment:1 by Remy Blank, 10 years ago

Milestone: 0.12
Resolution: cantfix
Status: newclosed

That particular DeprecationWarning comes from MySQLdb, so there's nothing we can do. You could report it to the package maintainer, though.

Please reopen if you see any others that are triggered by a Trac module.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.