Skip to content
This repository was archived by the owner on Dec 21, 2022. It is now read-only.

Commit 3aae04c

Browse files
suppress_action_result for git commands.
1 parent 5ea6509 commit 3aae04c

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

deployer/contrib/nodes/git.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
from deployer.exceptions import ExecCommandFailed
22
from deployer.node import Node, ParallelNode, ParallelNodeBase, dont_isolate_yet, required_property
33
from deployer.utils import esc1
4+
from deployer.node.decorators import suppress_action_result
45

56
__all__ = ('Git', 'GitOverview' )
67

@@ -39,6 +40,7 @@ def __new__(cls, name, bases, attrs):
3940

4041
@staticmethod
4142
def _create_git_command(command, ignore_exit_status=False):
43+
@suppress_action_result
4244
def run(self):
4345
with self.host.cd(self.repository_location):
4446
return self.host.run('git %s' % command, ignore_exit_status=ignore_exit_status)

0 commit comments

Comments
 (0)