commit | 0276c7ad0b56024f5373ad8f7edca5d77c58df22 | [log] [tgz] |
---|---|---|
author | Tarek Ziadé <ziade.tarek@gmail.com> | Tue Jan 26 21:21:54 2010 +0000 |
committer | Tarek Ziadé <ziade.tarek@gmail.com> | Tue Jan 26 21:21:54 2010 +0000 |
tree | 39ce4043e0a61938793538d047862c5cfddbab5a | |
parent | b28e5d7e412f592efd930b04dfb004f16083cf5b [diff] [blame] |
reintroduced the names in Distutils for APIs that were relocated
diff --git a/Lib/distutils/util.py b/Lib/distutils/util.py index 18d0d2e..8650d45 100644 --- a/Lib/distutils/util.py +++ b/Lib/distutils/util.py
@@ -17,6 +17,10 @@ _sysconfig = __import__('sysconfig') +# kept for backward compatibility +# since this API was relocated +get_platform = _sysconfig.get_platform + def convert_path(pathname): """Return 'pathname' as a name that will work on the native filesystem.