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 jveldridge
Recipients jveldridge
Date 2013-07-06.20:14:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1373141672.93.0.461698296017.issue18389@psf.upfronthosting.co.za>
In-reply-to
Content
With the following directory structure:

    computer$ ls
    foo/
    computer$ ls foo/
    bar/  foo_file.txt
    computer$ ls foo/bar/
    bar_file.txt

Running:

    os.path.relpath('foo/bar/bar_file.txt', 'foo/foo_file.txt')

Returns:

    '../bar/bar_file.txt'

But should return:

    'bar/bar_file.txt'
History
Date User Action Args
2013-07-06 20:14:32jveldridgesetrecipients: + jveldridge
2013-07-06 20:14:32jveldridgesetmessageid: <1373141672.93.0.461698296017.issue18389@psf.upfronthosting.co.za>
2013-07-06 20:14:32jveldridgelinkissue18389 messages
2013-07-06 20:14:32jveldridgecreate