Merge pull request #629 from adamjstewart/fixes/info
Fix spack info indentation
This commit is contained in:
commit
1d2d4b94c5
1 changed files with 2 additions and 2 deletions
|
@ -52,7 +52,7 @@ def print_text_info(pkg):
|
||||||
print "Safe versions: "
|
print "Safe versions: "
|
||||||
|
|
||||||
if not pkg.versions:
|
if not pkg.versions:
|
||||||
print("None")
|
print(" None")
|
||||||
else:
|
else:
|
||||||
pad = padder(pkg.versions, 4)
|
pad = padder(pkg.versions, 4)
|
||||||
for v in reversed(sorted(pkg.versions)):
|
for v in reversed(sorted(pkg.versions)):
|
||||||
|
@ -62,7 +62,7 @@ def print_text_info(pkg):
|
||||||
print
|
print
|
||||||
print "Variants:"
|
print "Variants:"
|
||||||
if not pkg.variants:
|
if not pkg.variants:
|
||||||
print "None"
|
print " None"
|
||||||
else:
|
else:
|
||||||
pad = padder(pkg.variants, 4)
|
pad = padder(pkg.variants, 4)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue