mirror of
https://github.com/kevingruesser/bootstrap-vz.git
synced 2025-08-25 15:56:29 +00:00
14 lines
298 B
Python
14 lines
298 B
Python
![]() |
from base import Task
|
||
|
from common import phases
|
||
|
import os.path
|
||
|
|
||
|
class Fake(Task):
|
||
|
description = 'create fake file'
|
||
|
phase = phases.system_modification
|
||
|
|
||
|
def run(self, info):
|
||
|
fake_path = os.path.join(info.root, 'fake.txt')
|
||
|
with open(fake_path, 'a') as fakefile:
|
||
|
fakefile.write("fake file")
|
||
|
|