From: Andrew M. Kuchling <amk@amk.ca>
Date: Thu, 22 Mar 2001 15:32:23 +0000 (+0000)
Subject: Use the get_contact*() accessors instead of get_maintainer*()
X-Git-Tag: v2.1b2~77
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ffb963c7f699c9b6ab0debc1825a55ec8f98556f;p=python

Use the get_contact*() accessors instead of get_maintainer*()
---

diff --git a/Lib/distutils/dist.py b/Lib/distutils/dist.py
index 23466965ad..7ef3a42b76 100644
--- a/Lib/distutils/dist.py
+++ b/Lib/distutils/dist.py
@@ -992,8 +992,8 @@ class DistributionMetadata:
         pkg_info.write('Version: %s\n' % self.get_version() )
         pkg_info.write('Summary: %s\n' % self.get_description() )
         pkg_info.write('Home-page: %s\n' % self.get_url() )
-        pkg_info.write('Author: %s\n' % self.get_maintainer() )
-        pkg_info.write('Author-email: %s\n' % self.get_maintainer_email() )
+        pkg_info.write('Author: %s\n' % self.get_contact() )
+        pkg_info.write('Author-email: %s\n' % self.get_contact_email() )
         pkg_info.write('License: %s\n' % self.get_licence() )
 
         long_desc = rfc822_escape( self.get_long_description() )