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