mirror of
https://github.com/kevingruesser/bootstrap-vz.git
synced 2025-08-24 15:36:27 +00:00
13 lines
298 B
Python
13 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")
|
|
|