We need to write something, even an empty string

This commit is contained in:
Pedro Algarvio 2014-11-23 01:46:45 +00:00
parent e6ab1d4ba1
commit 79be964dc2

View File

@ -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',