[postcfg] PEP8 modifications

This commit is contained in:
Philip 2017-06-23 11:24:17 +02:00
parent 1d737d0ff8
commit f37c8627a6

View File

@ -26,6 +26,7 @@ from distutils.dir_util import copy_tree
from os.path import join, exists
from libcalamares.utils import target_env_call
class ConfigController:
def __init__(self):
self.__root = libcalamares.globalstorage.value("rootMountPoint")
@ -77,8 +78,10 @@ class ConfigController:
# Copy skel to root
self.copy_folder('etc/skel', 'root')
# Workaround for pacman-key bug FS#45351 https://bugs.archlinux.org/task/45351
# We have to kill gpg-agent because if it stays around we can't reliably unmount
# Workaround for pacman-key bug
# FS#45351 https://bugs.archlinux.org/task/45351
# We have to kill gpg-agent because if it stays
# around we can't reliably unmount
# the target partition.
self.terminate('gpg-agent')
@ -88,6 +91,7 @@ class ConfigController:
return None
def run():
""" Misc postinstall configurations """