Skip to content

Commit

Permalink
preparing for v1.4.1. closes #111
Browse files Browse the repository at this point in the history
  • Loading branch information
tomerfiliba committed Feb 27, 2014
1 parent a84eb19 commit d6cbe5d
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 5 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
1.4.1
-----
* Force ``/bin/sh`` to be the shell in ``SshMachine.session()`` (`#111 <https://github.com/tomerfiliba/plumbum/pull/111>`_)
* Added ``islink()`` and ``unlink()`` to path objects (`#100 <https://github.com/tomerfiliba/plumbum/pull/100>`_,
`#103 <https://github.com/tomerfiliba/plumbum/pull/103>`_)
* Added ``access`` to path objects
* Faster ``which`` implementation (`#98 <https://github.com/tomerfiliba/plumbum/pull/98>`_)
* Several minor bug fixes

1.4
---
* Moved ``atomic`` and ``unixutils`` into the new ``fs`` package (file-system related utilities)
Expand Down
4 changes: 2 additions & 2 deletions plumbum/machines/ssh_machine.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ def popen(self, args, ssh_opts = (), **kwargs):
cmdline = []
cmdline.extend(ssh_opts)
cmdline.append(self._fqhost)
if args:
if args and hasattr(self, "env"):
envdelta = self.env.getdelta()
cmdline.extend(["cd", str(self.cwd), "&&"])
if envdelta:
Expand Down Expand Up @@ -146,7 +146,7 @@ def nohup(self, command):

@_setdoc(BaseRemoteMachine)
def session(self, isatty = False, new_session = False):
return ShellSession(self.popen((), (["-tt"] if isatty else ["-T"]), new_session = new_session),
return ShellSession(self.popen(["/bin/sh"], (["-tt"] if isatty else ["-T"]), new_session = new_session),
self.encoding, isatty, self.connect_timeout)

def tunnel(self, lport, dport, lhost = "localhost", dhost = "localhost", connect_timeout = 5):
Expand Down
6 changes: 3 additions & 3 deletions plumbum/version.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
version = (1, 4, 0)
version_string = "1.4.0"
release_date = "2013.11.09"
version = (1, 4, 1)
version_string = "1.4.1"
release_date = "2014.02.28"

0 comments on commit d6cbe5d

Please sign in to comment.