summaryrefslogtreecommitdiff
path: root/paramiko/sftp_si.py
Commit message (Collapse)AuthorAgeFilesLines
* Harmonize into *args from *larg, *largsYaroslav Halchenko2023-01-241-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Initially spotted since 'larg' was picked up by codespell as something possibly to fix to become 'large'. But realized that it is just an inconsistency. Had various uses: ❯ git grep '\*arg\>' | nl 1 paramiko/sftp_client.py: def _request(self, t, *arg): 2 paramiko/sftp_client.py: num = self._async_request(type(None), t, *arg) 3 paramiko/sftp_client.py: def _async_request(self, fileobj, t, *arg): 4 paramiko/sftp_server.py: def _response(self, request_number, t, *arg): ❯ git grep '\*largs\>' | nl 1 paramiko/sftp_server.py: *largs, 2 paramiko/sftp_server.py: self.server = sftp_si(server, *largs, **kwargs) 3 paramiko/sftp_si.py: def __init__(self, server, *largs, **kwargs): 4 paramiko/sftp_si.py: super().__init__(*largs, **kwargs) ❯ git grep '\*larg\>' | nl 1 paramiko/server.py: handler = handler_class(channel, name, self, *larg, **kwarg) 2 paramiko/transport.py: def set_subsystem_handler(self, name, handler, *larg, **kwarg): in addition to more conventional ❯ git grep '\*args\>' | nl 1 paramiko/_winapi.py: super().__init__(*args) 2 paramiko/_winapi.py: def __init__(self, *args, **kwargs): 3 paramiko/_winapi.py: super().__init__(*args, **kwargs) 4 paramiko/auth_handler.py: def _log(self, *args): 5 paramiko/auth_handler.py: return self.transport._log(*args) 6 paramiko/channel.py: def _check(self, *args, **kwds): 7 paramiko/channel.py: return func(self, *args, **kwds) 8 paramiko/channel.py: def _log(self, level, msg, *args): 9 paramiko/channel.py: self.logger.log(level, "[chan " + self._name + "] " + msg, *args) 10 paramiko/sftp.py: def _log(self, level, msg, *args): 11 paramiko/sftp.py: self.logger.log(level, msg, *args) 12 paramiko/sftp_client.py: def _log(self, level, msg, *args): 13 paramiko/sftp_client.py: self._log(level, m, *args) 14 paramiko/transport.py: def _log(self, level, msg, *args): 15 paramiko/transport.py: self.logger.log(level, msg, *args) 16 tests/__init__.py: def _test_under_locale(testself, *args, **kwargs): 17 tests/__init__.py: return test_method(testself, *args, **kwargs) 18 tests/test_client.py: def __init__(self, *args, **kwargs): 19 tests/test_client.py: super().__init__(*args, **kwargs) 20 tests/test_config.py: def inner(command, *args, **kwargs): 21 tests/test_packetizer.py: def wrapper(*args, **kwargs): 22 tests/test_packetizer.py: result = func(*args, **kwargs)
* well that's just super()!Jeff Forcier2023-01-161-1/+1
|
* No more (object)ionsJeff Forcier2023-01-161-1/+1
|
* Fix Free Software Foundation addressPaul Howarth2022-03-151-1/+1
| | | | They moved from Temple Place to Franklin Street in 2005.
* Blacken Paramiko on 2.4Chris Rose2018-05-171-4/+5
|
* Enhance SFTP client & server docs re: posix_rename and its relation to renameJeff Forcier2017-07-131-0/+7
| | | | Fixes #1016, re #1012
* sphinx nitpick fixesJeff Forcier2017-06-061-1/+1
|
* Merge branch 'master' into 471-intJeff Forcier2017-06-061-22/+22
|\
| * Move to 'inv sites' style doc nitpicking.Jeff Forcier2017-06-051-10/+10
| | | | | | | | | | | | | | Existing just-warnings setup was old and not as rigorous as my usual. Required a lot of stupid little changes, but now same tooling for all projects, toot toot.
| * Additional PEP8 fixes.Dorian Pula2017-05-311-11/+11
| |
| * untie agian!james mike dupont2017-01-241-1/+1
| |
* | Add support for posix-rename@openssh.com for the SFTP server side and fix ↵Mika Pflüger2015-02-011-0/+12
|/ | | | tests accordingly.
* Fix import * and a bunch of PEP8 formattingScott Maxwell2014-03-071-4/+3
|
* Fix up remaining Sphinx build warningsJeff Forcier2014-02-261-0/+2
|
* SFTP done, ughJeff Forcier2014-02-261-69/+52
|
* Wow there's a lot of SFTP crap.Jeff Forcier2014-02-211-9/+11
|
* s/python/Python/, c'mon son!Jeff Forcier2014-02-211-2/+2
|
* Don't actually need :class: anywhere nowJeff Forcier2014-02-211-27/+27
|
* Replace accidental class-refs on local method-refsJeff Forcier2014-02-211-2/+2
|
* Mass SnR of class refs with dotted ones.Jeff Forcier2014-02-211-26/+26
| | | | | | | | Boo on Sphinx for not letting me just change this behavior by default. There are a handful of incorrect items here that will get tweaked later.
* Epydoc -> Sphinx.Olle Lundberg2014-01-231-110/+110
|
* Fixed a typo in the license header of most filesJeff Forcier2013-09-271-1/+1
| | | | | Conflicts: paramiko/proxy.py
* fix my email address to be the current one.Robey Pointer2009-07-191-1/+1
|
* [project @ robey@lag.net-20070213191706-v8djxd4jiunb3his]Robey Pointer2007-02-131-1/+1
| | | | bump copyright year to 2007
* [project @ robey@lag.net-20060406181821-68f9bc13b3580d37]Robey Pointer2006-04-061-2/+6
| | | | some fixes for win32: potential fix for lockup during failed tests; don't try chmod/chown or symlinks; fix canonicalize to convert dos-style path separators to '/'; open local files in binary mode; close a file before erasing it
* [project @ robey@lag.net-20060220040343-f13904d9c97035e3]Robey Pointer2006-02-191-0/+3
| | | | explain why paths aren't, and can't be, unicode strings when passed to SFTPServerInterface
* [project @ robey@lag.net-20060220005934-58d0df2920e799b5]Robey Pointer2006-02-191-1/+1
| | | | update copyright year
* [project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-65]Robey Pointer2005-10-131-5/+4
| | | | remove unnecessary shebangs, fix import lines to be explicit about imports from within paramiko, and a bit of whitespace cleanup
* [project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-157]Robey Pointer2005-04-061-15/+26
| | | | | | | | | change SubsystemHandler/SFTPServerInterface API change the API of SubsystemHandler to accept a reference to the ServerInstance object during construction. this will break all code that currently creates subsystem handlers (like sftp servers) -- sorry! lots of little doc fixups (mostly indenting).
* [project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-154]Robey Pointer2005-02-281-1/+1
| | | | | | | even better 1.2 lapras re-bump the version # to 1.2 (with a new date since i added more stuff). add 2005 to the copyright date in a bunch of files.
* [project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-135]Robey Pointer2004-12-191-4/+4
| | | | | | more sftp cleanup oops, this should've been part of the last patch.
* [project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-122]Robey Pointer2004-12-101-0/+30
| | | | | | | | symlink, readlink add support for symlink command, and finish support for readlink. (i guess i started readlink a while ago but forgot to add the right method to the SFTPServerInterface class.)
* [project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-113]Robey Pointer2004-11-221-0/+263
sftp server support! finally check in sftp_handle (file handle abstraction), sftp_si (server interface), and sftp_server (server implementation) -- all of which make a roughly 90% implementation of server-side sftp.