hadoop-hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt Pestritto (JIRA)" <j...@apache.org>
Subject [jira] Created: (HIVE-851) Thrift Client: BaseException.message deprecation warning in Python 2.6
Date Tue, 22 Sep 2009 15:02:16 GMT
Thrift Client: BaseException.message deprecation warning in Python 2.6
----------------------------------------------------------------------

                 Key: HIVE-851
                 URL: https://issues.apache.org/jira/browse/HIVE-851
             Project: Hadoop Hive
          Issue Type: Bug
          Components: Clients
            Reporter: Matt Pestritto
            Priority: Minor


In Python 2.6 BaseException.message has been deprecated.  This is a patch to remove these
warnings.
src/thrift/Thrift.py:62: DeprecationWarning: BaseException.message has been deprecated as
of Python 2.6
  self.message = message

Also note.  I could only replicate this error in two clases and there were other classes that
inherited (Exception). 

Patch is only attached for those two classes.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message