From 8ad9d24459f63cc2e6b46cd13862695b2f87bc9a Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Mon, 22 Jul 2019 21:27:10 +0300 Subject: Change: make scp quiet --- api.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/api.py b/api.py index cea252c..b0d0a06 100755 --- a/api.py +++ b/api.py @@ -338,8 +338,6 @@ class Deployer(API): ] def _publish(self): - r = bottle.request - logging.debug('_publish called: %r %r', dict(r.headers), r.body) spec = bottle.request.json logging.info('Publishing: %r', spec) @@ -369,7 +367,7 @@ class Deployer(API): def _publish_via_ssh(self, filename, ssh_target): logging.info('Copying %s to %s', filename, ssh_target) argv = [ - 'scp', '-v', filename, ssh_target, + 'scp', '-q', filename, ssh_target, ] return runcmd('.', argv, self.MAX_UPLOAD_TIME) -- cgit v1.2.1