pythonclient-rsync: exclude *.pyc files from rsync

Change-Id: Icd7abc48b884c2c428c9b503a1d08e2e413cbb9e
This commit is contained in:
Przemyslaw Kaminski 2015-08-14 11:15:57 +02:00
parent aad885ba88
commit ce53175546
1 changed files with 4 additions and 0 deletions

View File

@ -37,3 +37,7 @@ class Rsync(rsync.RsyncMixin,
self.print_debug('Rsyncing to master')
self.rsync(source_dir, target, *args)
def build_app_args_target(self, target):
target, args = super(Rsync, self).build_app_args_target(target)
return target, ['--exclude=*.pyc'] + args