Fixing PEP – 257 Violations

This commit is contained in:
Gormogon 2015-02-20 16:18:21 -05:00 committed by Teo Mrnjavac
parent 113d9db7cb
commit b4db9fe64b
3 changed files with 5 additions and 11 deletions

View file

@ -111,10 +111,7 @@ class FstabGenerator(object):
self.ssd_disks = {x for x in disks if is_ssd_disk(x)}
def generate_fstab(self):
"""
Create fstab.
"""
""" Create fstab. """
mkdir_p(os.path.join(self.root_mount_point, "etc"))
fstab_path = os.path.join(self.root_mount_point, "etc", "fstab")
with open(fstab_path, "w") as fl: