summaryrefslogtreecommitdiff
path: root/vmdebootstrap
diff options
context:
space:
mode:
authorNeil Williams <codehelp@debian.org>2016-01-12 19:40:55 +0000
committerNeil Williams <codehelp@debian.org>2016-01-12 19:40:55 +0000
commite64e9719e01369a4761eb0112bec5790010d3735 (patch)
tree386c3de3d80884c9fd3c1ca48d73d978f0aff5ba /vmdebootstrap
parent08f12f06a97be6ab45b183c3770d6f6de1075d85 (diff)
downloadvmdebootstrap-e64e9719e01369a4761eb0112bec5790010d3735.tar.gz
Refer to size units consistently
Martin Michlmayr <tbm@hpe.com> http://lists.alioth.debian.org/pipermail/vmdebootstrap-devel/Week-of-Mon-20160111/000396.html
Diffstat (limited to 'vmdebootstrap')
-rw-r--r--vmdebootstrap/base.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/vmdebootstrap/base.py b/vmdebootstrap/base.py
index 43d5a3e..b68f463 100644
--- a/vmdebootstrap/base.py
+++ b/vmdebootstrap/base.py
@@ -182,8 +182,8 @@ class Base(object):
if self.settings['swap'] > swap:
swap = self.settings['swap']
else:
- # minimum 256Mb as default qemu ram is 128Mb
- logging.debug("Setting minimum 256Mb swap space")
+ # minimum 256MB as default qemu ram is 128MB
+ logging.debug("Setting minimum 256MB swap space")
extent = "%s%%" % int(100 * (self.settings['size'] - swap) / self.settings['size'])
return extent