1 |
This fixes an issue with SyncLocalTestCase hanging on my system. |
2 |
--- |
3 |
pym/portage/sync/modules/rsync/rsync.py | 2 +- |
4 |
1 file changed, 1 insertion(+), 1 deletion(-) |
5 |
|
6 |
diff --git a/pym/portage/sync/modules/rsync/rsync.py b/pym/portage/sync/modules/rsync/rsync.py |
7 |
index 8041f07..f08bf5c 100644 |
8 |
--- a/pym/portage/sync/modules/rsync/rsync.py |
9 |
+++ b/pym/portage/sync/modules/rsync/rsync.py |
10 |
@@ -73,7 +73,7 @@ class RsyncSync(NewBase): |
11 |
self.rsync_opts = self._rsync_opts_extend(opts, rsync_opts) |
12 |
|
13 |
self.extra_rsync_opts = list() |
14 |
- if 'sync-rsync-extra-opts' in self.repo.module_specific_options: |
15 |
+ if self.repo.module_specific_options.get('sync-rsync-extra-opts'): |
16 |
self.extra_rsync_opts.extend(portage.util.shlex_split( |
17 |
self.repo.module_specific_options['sync-rsync-extra-opts'])) |
18 |
|
19 |
-- |
20 |
2.3.6 |