[prev in list] [next in list] [prev in thread] [next in thread] 

List:       python-xml-sig
Subject:    [XML-SIG] Redhat RPM for PyXML 0.8.2?
From:       martin () v ! loewis ! de (Martin v !  =?iso-8859-15?q?L=F6wis?=)
Date:       2003-04-14 5:29:31
Message-ID: m3fzold4uc.fsf () mira ! informatik ! hu-berlin ! de
[Download RAW message or body]

Craeg K Strong <cstrong@arielpartners.com> writes:

> AttributeError: Distribution instance has no attribute 'get_license'
> 
> I went ahead and changed line 353 in bdist_rpm.py from
> 
> 'Copyright: ' + self.distribution.get_license(),
> 
> to
> 
> 'Copyright: n/a',
> 
> and it worked.   I looked like the older version of bdist_rpm.py would
> have had
> the same problem, however, as it also calls get_license().  Any ideas?

It's surprising you get this error. In distutils/dist.py, I see the
function

    def get_license(self):
        return self.license or "UNKNOWN"
    get_licence = get_license

which always gives a value. Do you have no function get_license in
dist.py?

Regards,
Martin


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic