From d969d2b8630108e1e888c90c8acade943e7e4e34 Mon Sep 17 00:00:00 2001 From: Marek Marczykowski Date: Wed, 28 Mar 2012 00:20:13 +0200 Subject: [PATCH] dom0/utils: minor for for parse_size --- dom0/qvm-core/qubesutils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dom0/qvm-core/qubesutils.py b/dom0/qvm-core/qubesutils.py index 4089b35f..7b8e5add 100644 --- a/dom0/qvm-core/qubesutils.py +++ b/dom0/qvm-core/qubesutils.py @@ -78,7 +78,7 @@ def parse_size(size): size = size.strip().upper() if size.isdigit(): - return size + return int(size) for unit, multiplier in units: if size.endswith(unit):