Patchwork [bitbake-devel] fetch2/svn.py: Use protocol parameter to get the protocol

login
register
mail settings
Submitter Martin Jansa
Date July 17, 2012, 10:38 p.m.
Message ID <1342564699-490-1-git-send-email-Martin.Jansa@gmail.com>
Download mbox | patch
Permalink /patch/32325/
State Accepted
Commit b2017f493ab730d804ae44ec5a168d464626d046
Headers show

Comments

Martin Jansa - July 17, 2012, 10:38 p.m.
* it was send in v1 of proto -> protocol changes but then wasn't in V2
  http://patchwork.openembedded.org/patch/31617/
  where warning about proto= was moved to shared __init__

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 lib/bb/fetch2/svn.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch

diff --git a/lib/bb/fetch2/svn.py b/lib/bb/fetch2/svn.py
index bc5b96b..ea5902e 100644
--- a/lib/bb/fetch2/svn.py
+++ b/lib/bb/fetch2/svn.py
@@ -71,7 +71,7 @@  class Svn(FetchMethod):
         command is "fetch", "update", "info"
         """
 
-        proto = ud.parm.get('proto', 'svn')
+        proto = ud.parm.get('protocol', 'svn')
 
         svn_rsh = None
         if proto == "svn+ssh" and "rsh" in ud.parm: