Comment 0 for bug 244453

Revision history for this message
Rehan Khan (rasker) wrote :

Imported: http://tracker.labix.org/issue310

Reason for Import: Patch Review

further details: https://blueprints.launchpad.net/smart/+spec/bug-reporting-migration

msg1153 (view) Author: peter-endian Date: 2007-06-21.13:35:42

When you use python-curl, curl downloads the error message if authentication
fails and stores it as the respective xml file, with which smart is not very
happy of course.

The attached patch (against 0.50) sets the curl configuration option which
causes curl to fail if an authentication error occurrs, which then causes smart
to print out the error and consider the download not to be ok instead of writing
the errormessage down to the file.