Skip to contentSkip to conversation

fetch2/svn.py: Use protocol parameter to get the protocol

PATCH New Martin Jansa 1 participant 1 message Jul 17, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fetch2/svn.py: Use protocol parameter to get the protocol

* 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__

---
 lib/bb/fetch2/svn.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
lib/bb/fetch2/svn.py +1 -1
index bc5b96b..ea5902e 100644
@@ -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:
Signature · 1 line
1.7.8.6