Commit 9cd8d4b8 authored by Nikos Skalkotos's avatar Nikos Skalkotos
Browse files

Fix for PEP8's E265.

pep8 1.5 introduced a new test (E265) to ensure there's at least one
space before block comment.
parent 21aa5f16
......@@ -353,11 +353,11 @@ def create_image(session):
try:
out.clear()
#Sysprep
# Sysprep
image.os.do_sysprep()
metadata = image.os.meta
#Shrink
# Shrink
size = image.shrink()
session['shrinked'] = True
update_background_title(session)
......@@ -365,7 +365,7 @@ def create_image(session):
metadata.update(image.meta)
metadata['DESCRIPTION'] = wizard['ImageDescription']
#MD5
# MD5
md5 = MD5(out)
session['checksum'] = md5.compute(image.device, size)
......
......@@ -267,7 +267,7 @@ class GPTPartitionTable(object):
lba_count = new_size // BLOCKSIZE
# Correct MBR
#TODO: Check if the partition tables is hybrid
# TODO: Check if the partition tables is hybrid
self.mbr.part[0].sector_count = (new_size // BLOCKSIZE) - 1
# Fix Primary header
......
......@@ -137,8 +137,8 @@ class Image(object):
else:
self.g.set_recovery_proc(0)
#self.g.set_trace(1)
#self.g.set_verbose(1)
# self.g.set_trace(1)
# self.g.set_verbose(1)
self.out.output('Launching helper VM (may take a while) ...', False)
# self.progressbar = self.out.Progress(100, "Launching helper VM",
......
......@@ -55,7 +55,7 @@ class Freebsd(Unix):
super(Freebsd, self)._do_collect_metadata()
self.meta["USERS"] = " ".join(self._get_passworded_users())
#The original product name key is long and ugly
# The original product name key is long and ugly
self.meta['DESCRIPTION'] = \
self.meta['DESCRIPTION'].split('#')[0].strip()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment