Merge pull request #2502 from b6d/gem-module-fix

"gem"-module: replace python 2.5 language feature
This commit is contained in:
Michael DeHaan 2013-03-26 05:53:05 -07:00
commit 7d08ad5e82

View file

@ -130,7 +130,10 @@ def install(module):
return
ver = get_rubygems_version(module)
major = ver[0] if ver else None
if ver:
major = ver[0]
else:
major = None
cmd = [ module.get_bin_path('gem', True) ]
cmd.append('install')