path.join error with paramiko/paramiko_scp on get_r("/")
Bug #981498 reported by
DipSwitch
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
paramiko |
New
|
Undecided
|
Unassigned |
Bug Description
When you call scp.get_r("/") the line below would generate an error.
paramiko/
try:
mode = int(parts[0], 8)
path = os.path.
except:
To:
try:
mode = int(parts[0], 8)
if (len(parts) >= 3):
else:
except:
To post a comment you must log in.