Mercurial > gub
changeset 3391:b7089fd3338b
Oops, prefer fully specified platform over os.
(cherry picked from a1d63b8012f51d2a1c2dd44ee0ad861dfd2800e0 commit)
author | Jan Nieuwenhuizen <janneke@gnu.org> |
---|---|
date | Wed, 02 May 2007 15:52:47 +0200 |
parents | cce22a1216f6 |
children | 533b0a066744 |
files | gub/cross.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/gub/cross.py Wed May 02 15:44:54 2007 +0200 +++ b/gub/cross.py Wed May 02 15:52:47 2007 +0200 @@ -143,7 +143,7 @@ desc = ('.py', 'U', 1) base = re.sub ('[-0-9].*', '', platform) - for name in base, platform: + for name in platform, base: file_name = 'gub/%(name)s.py' % locals () if os.path.exists (file_name): break