mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-29 20:34:22 +01:00
Fix line for strip
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
parent
a60e0972e8
commit
51087f6c16
1 changed files with 1 additions and 1 deletions
|
@ -418,7 +418,7 @@ class PackageManager(object):
|
|||
if line.startswith("UNCOMPRESSED PACKAGE SIZE:"):
|
||||
digit = float((''.join(re.findall(
|
||||
"[-+]?\d+[\.]?\d*[eE]?[-+]?\d*", line[26:]))))
|
||||
self.file_size = line[27:].strip()
|
||||
self.file_size = line[26:].strip()
|
||||
if "M" in line[26:]:
|
||||
self.size += digit * 1024
|
||||
else:
|
||||
|
|
Loading…
Add table
Reference in a new issue