Wrong indentation on comment.
This commit is contained in:
parent
d988d81690
commit
c5d099c3fa
|
|
@ -177,7 +177,7 @@ class Profile(Script):
|
||||||
if hasattr(imported, '_prep_function'):
|
if hasattr(imported, '_prep_function'):
|
||||||
return True
|
return True
|
||||||
return False
|
return False
|
||||||
"""
|
"""
|
||||||
def has_post_install(self):
|
def has_post_install(self):
|
||||||
with open(self.path, 'r') as source:
|
with open(self.path, 'r') as source:
|
||||||
source_data = source.read()
|
source_data = source.read()
|
||||||
|
|
@ -193,7 +193,7 @@ class Profile(Script):
|
||||||
with self.load_instructions(namespace=f"{self.namespace}.py") as imported:
|
with self.load_instructions(namespace=f"{self.namespace}.py") as imported:
|
||||||
if hasattr(imported, '_post_install'):
|
if hasattr(imported, '_post_install'):
|
||||||
return True
|
return True
|
||||||
"""
|
"""
|
||||||
|
|
||||||
def is_top_level_profile(self):
|
def is_top_level_profile(self):
|
||||||
with open(self.path, 'r') as source:
|
with open(self.path, 'r') as source:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue