comparison mx/commands.py @ 4216:a13d61d3910e

fix for when no vm build is explicitely selected
author Gilles Duboscq <gilles.m.duboscq@gmail.com>
date Wed, 04 Jan 2012 19:47:17 +0100
parents a2caa019ba3a
children 47f7d91d34cf
comparison
equal deleted inserted replaced
4215:a2caa019ba3a 4216:a13d61d3910e
610 major = int(parts[1]) 610 major = int(parts[1])
611 if not major >= 7: 611 if not major >= 7:
612 mx.abort('Requires Java version 1.7 or greater, got version ' + version) 612 mx.abort('Requires Java version 1.7 or greater, got version ' + version)
613 613
614 if (_vmSourcesAvailable): 614 if (_vmSourcesAvailable):
615 if hasattr(opts, 'vmbuild'): 615 if hasattr(opts, 'vmbuild') and opts.vmbuild is not None:
616 global _vmbuild 616 global _vmbuild
617 _vmbuild = opts.vmbuild 617 _vmbuild = opts.vmbuild