pythonclient-rsync: exclude *.pyc files from rsync
Change-Id: Icd7abc48b884c2c428c9b503a1d08e2e413cbb9e
This commit is contained in:
parent
aad885ba88
commit
ce53175546
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue