Project

General

Profile

Bug #15873

Deprecation warning...

Added by Marc Mengel over 2 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
Start date:
03/15/2017
Due date:
% Done:

100%

Estimated time:
Duration:

Description

/grid/fermiapp/products/common/prd/sam_web_client/v2_1/NULL/python/samweb_client/http_client_requests.py:128: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
errmsg = str(ex.message)

looks like we just want str(ex) these days(?).

History

#1 Updated by Robert Illingworth over 2 years ago

Fixed by cbf15eff4124b2f5825b75f8eaddbc58eed0c6ca which I added a couple of weeks ago but never pushed to redmine.

You only see this if you're using requests, the API rather than the CLI, and if there's an SSL error. Which is why it went unnoticed for a long time.

#2 Updated by Robert Illingworth over 2 years ago

  • Project changed from SAM Web services to SAM Web client

#3 Updated by Robert Illingworth over 2 years ago

  • Status changed from New to Resolved
  • Target version set to v2_2

#4 Updated by Robert Illingworth about 2 years ago

  • % Done changed from 0 to 100

#5 Updated by Robert Illingworth about 2 years ago

  • Status changed from Resolved to Closed


Also available in: Atom PDF