mirror of https://github.com/cowrie/cowrie.git
Fix apt size of formatting (#1561)
* update formatting for apt additional disk space message
This commit is contained in:
parent
ec39aad0a0
commit
0cd1fd89de
|
@ -142,10 +142,8 @@ pages for more information and options.
|
|||
% len(packages)
|
||||
)
|
||||
self.write("Need to get %s.2kB of archives.\n" % (totalsize))
|
||||
self.write(
|
||||
"After this operation, {}kB of additional disk space will be used.\n".format(
|
||||
totalsize * 2.2
|
||||
)
|
||||
self.write("After this operation, {:.1f}kB of additional disk space will be used.\n".format(
|
||||
totalsize * 2.2)
|
||||
)
|
||||
i = 1
|
||||
for p in packages:
|
||||
|
|
Loading…
Reference in New Issue