From c13a11ffc506b95e1cd410b30257ad618beb6b25 Mon Sep 17 00:00:00 2001 From: Mike Fulbright Date: Wed, 14 Aug 2002 04:43:31 +0000 Subject: add some logging, remove leftover debugging --- autopart.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'autopart.py') diff --git a/autopart.py b/autopart.py index 517aa1178..70adb35c0 100644 --- a/autopart.py +++ b/autopart.py @@ -800,10 +800,10 @@ def doPartitioning(diskset, requests, doRefresh = 1): size) else: vgused[request.volumeGroup] = size + for vg in vgused.keys(): request = requests.getRequestByID(vg) - print vgused[vg] - print request.getActualSize(requests, diskset) + log("Used size vs. available for vg %s: %s %s", request.volumeGroupName, vgused[vg], request.getActualSize(requests, diskset)) if vgused[vg] > request.getActualSize(requests, diskset): raise PartitioningError, _("Adding this partition would not " "leave enough disk space for already " -- cgit