This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author gerdus
Recipients gerdus
Date 2008-01-06.10:45:19
SpamBayes Score 0.023445493
Marked as misclassified No
Message-id <1199616321.65.0.452980154178.issue1741@psf.upfronthosting.co.za>
In-reply-to
Content
register.py and upload.py both can't find the .pypirc on my system since
there is no HOME environment variable.
currently:
if os.environ.has_key('HOME'):
    rc = os.path.join(os.environ['HOME'], '.pypirc')
        if os.path.exists(rc):

works for me if changed to:
rc = os.path.expanduser('~/.pypirc')         
if os.path.exists(rc):
History
Date User Action Args
2008-01-06 10:45:21gerdussetspambayes_score: 0.0234455 -> 0.023445493
recipients: + gerdus
2008-01-06 10:45:21gerdussetspambayes_score: 0.0234455 -> 0.0234455
messageid: <1199616321.65.0.452980154178.issue1741@psf.upfronthosting.co.za>
2008-01-06 10:45:19gerduslinkissue1741 messages
2008-01-06 10:45:19gerduscreate