From 5924d2fcc3a7faf44cb709d0f1ab9c6929ab9199 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 be2d3cdf..f31a35d5 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):