~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/osutils.py

Merge MAPI support from Lukáš Lalinsky

Show diffs side-by-side

added added

removed removed

Lines of Context:
1387
1387
    # The pathjoin for '.' is a workaround for Python bug #1213894.
1388
1388
    # (initial path components aren't dereferenced)
1389
1389
    return pathjoin(realpath(pathjoin('.', parent)), base)
 
1390
 
 
1391
 
 
1392
def supports_mapi():
 
1393
    """Return True if we can use MAPI to launch a mail client."""
 
1394
    return sys.platform == "win32"