TypeError: prefetch() takes exactly 2 arguments (1 given)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
Critical
|
Vincent Ladeuil |
Bug Description
$ bzr push
Using saved push location: sftp://
bzr: ERROR: exceptions.
Traceback (most recent call last):
File "/usr/lib/
return the_callable(*args, **kwargs)
File "/usr/lib/
ret = run(*run_argv)
File "/usr/lib/
return self.run(
File "/usr/lib/
return self._operation
File "/usr/lib/
self.cleanups, self.func, *args, **kwargs)
File "/usr/lib/
result = func(*args, **kwargs)
File "/usr/lib/
use_
File "/usr/lib/
dir_to = controldir.
File "/usr/lib/
find_format, transport, redirected)
File "/usr/lib/
return action(transport)
File "/usr/lib/
probers=
File "/usr/lib/
return prober.
File "/usr/lib/
format_string = transport.
File "/usr/lib/
f = self.get(relpath)
File "/usr/lib/
f.prefetch()
TypeError: prefetch() takes exactly 2 arguments (1 given)
python-paramiko 1.16.0-1
bzr 2.7.0-2ubuntu1
python-bzrlib 2.7.0-2ubuntu1
Related branches
- Vincent Ladeuil: Approve
-
Diff: 35 lines (+13/-1)2 files modifiedbzrlib/transport/sftp.py (+2/-1)
doc/en/release-notes/bzr-2.7.txt (+11/-0)
Changed in bzr: | |
status: | New → Confirmed |
Changed in bzr: | |
status: | Confirmed → In Progress |
importance: | Undecided → Critical |
assignee: | nobody → Vincent Ladeuil (vila) |
milestone: | none → 2.7.1 |
Changed in bzr: | |
status: | In Progress → Fix Committed |
Changed in bzr: | |
status: | Fix Committed → Fix Released |
In paramiko sftp_file.py,
SFTPFile.prefetch takes a file_size parameter after self.