diff options
| author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2010-11-17 15:40:51 +0100 |
|---|---|---|
| committer | Richard Purdie <rpurdie@linux.intel.com> | 2011-01-04 14:46:41 +0000 |
| commit | 4df0d6adcaae5382009c356d750e7909a44284f6 (patch) | |
| tree | d3b8b48e0ded47a63c4ea65b56add754cc750126 /bitbake/lib/bb/fetch/svn.py | |
| parent | b7d667f25283cddf8ff4fc9e35425a884a9f527e (diff) | |
| download | poky-4df0d6adcaae5382009c356d750e7909a44284f6.tar.gz | |
fetch: be more pythonic
no functional changes
(Bitbake rev: e88834fb7c6821cc29c12d296f2edd51f6eb3746)
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'bitbake/lib/bb/fetch/svn.py')
| -rw-r--r-- | bitbake/lib/bb/fetch/svn.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/bitbake/lib/bb/fetch/svn.py b/bitbake/lib/bb/fetch/svn.py index c46ace423d..dc35c9d121 100644 --- a/bitbake/lib/bb/fetch/svn.py +++ b/bitbake/lib/bb/fetch/svn.py | |||
| @@ -91,9 +91,7 @@ class Svn(Fetch): | |||
| 91 | 91 | ||
| 92 | basecmd = data.expand('${FETCHCMD_svn}', d) | 92 | basecmd = data.expand('${FETCHCMD_svn}', d) |
| 93 | 93 | ||
| 94 | proto = "svn" | 94 | proto = ud.parm.get('proto', 'svn') |
| 95 | if "proto" in ud.parm: | ||
| 96 | proto = ud.parm["proto"] | ||
| 97 | 95 | ||
| 98 | svn_rsh = None | 96 | svn_rsh = None |
| 99 | if proto == "svn+ssh" and "rsh" in ud.parm: | 97 | if proto == "svn+ssh" and "rsh" in ud.parm: |
