Skip to content

Commit

Permalink
Prokopto-dev/bugfix-1 (#13)
Browse files Browse the repository at this point in the history
* Adding fix

* env
  • Loading branch information
prokopto-dev committed Jun 5, 2024
1 parent 6a4ce37 commit 4010095
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,9 @@ See [`fabric`](https://github.com/fabric/fabric) for more details on the base `f

## Note On Changelogs

- Changelog will be implemented AFTER 1.0, given that 1.0 was considered MVP and all features should be stable.
- Docs will continue to be updated throughout, inbetween release versions.
### v1.0.1

- Bugfix: `su` command had an invalid argument when processing subcommands. Fixed.

## Installation

Expand Down
Binary file modified docs/.doctrees/environment.pickle
Binary file not shown.
2 changes: 1 addition & 1 deletion docs/searchindex.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion fabricplus/connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ def _su(
_prompt: str = "Password: "
_command: str = self._prefix_commands(command)
# Escape all double quotes in the command.
_cmd_str: str = f'su - {user} -Conn "{command}"'.format(
_cmd_str: str = f'su - {user} -c "{command}"'.format(
user=user, command=_command.replace('"', '\\"')
)
_watcher: FailingResponder = FailingResponder(
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "fabricplus"
version = "1.0.0"
version = "1.0.1"
description = "A Python 3.8.10+ wrapper to add in SCP functionality for file transfer in Fabric."
authors = ["Courtney Caldwell <courtneyccaldwell@gmail.com>"]
maintainers = ["Courtney Caldwell <courtneyccaldwell@gmail.com>"]
Expand Down

0 comments on commit 4010095

Please sign in to comment.