mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
We need to write something, even an empty string
This commit is contained in:
parent
e6ab1d4ba1
commit
79be964dc2
@ -161,7 +161,7 @@ class GitTest(integration.ModuleCase, integration.SaltReturnAssertsMixIn):
|
||||
fname = os.path.join(name, 'stoptheprocess')
|
||||
|
||||
with salt.utils.fopen(fname, 'a') as fh_:
|
||||
fh_.write()
|
||||
fh_.write('')
|
||||
|
||||
ret = self.run_state(
|
||||
'git.present',
|
||||
|
Loading…
Reference in New Issue
Block a user