* fix: left justify output of la, looks better now?
This commit is contained in:
@@ -810,11 +810,12 @@ Gives a brief list of PiSi components published in the repository.
|
|||||||
if self.options.long:
|
if self.options.long:
|
||||||
ctx.ui.info(unicode(package))
|
ctx.ui.info(unicode(package))
|
||||||
else:
|
else:
|
||||||
pstr = p
|
lenp = len(p)
|
||||||
if p in installed_list:
|
if p in installed_list:
|
||||||
pstr = colorize(p, "cyan")
|
p = colorize(p, 'cyan')
|
||||||
ctx.ui.info('%15s - %s ' % (pstr, unicode(package.summary)))
|
p = p + ' ' * max(0, 15 - lenp)
|
||||||
|
ctx.ui.info('%s - %s ' % (p, unicode(package.summary)))
|
||||||
|
|
||||||
|
|
||||||
class ListUpgrades(Command):
|
class ListUpgrades(Command):
|
||||||
"""List packages to be upgraded
|
"""List packages to be upgraded
|
||||||
|
|||||||
Reference in New Issue
Block a user