mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-14 17:43:11 -04:00
dev-python/cffsubr: initial import
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
12
dev-python/cffsubr/files/cffsubr-system_tx.diff
Normal file
12
dev-python/cffsubr/files/cffsubr-system_tx.diff
Normal file
@@ -0,0 +1,12 @@
|
||||
--- a/src/cffsubr/__init__.py
|
||||
+++ b/src/cffsubr/__init__.py
|
||||
@@ -60,8 +60,7 @@ def _run_embedded_tx(*args, **kwargs):
|
||||
subprocess.CompletedProcess object with the following attributes:
|
||||
args, returncode, stdout, stderr.
|
||||
"""
|
||||
- with path(__name__, TX_EXE) as tx_cli:
|
||||
- return subprocess.run([str(tx_cli)] + list(args), **kwargs)
|
||||
+ return subprocess.run(['tx'] + list(args), **kwargs)
|
||||
|
||||
|
||||
def _tx_subroutinize(data: bytes, output_format: str = CFFTableTag.CFF) -> bytes:
|
||||
Reference in New Issue
Block a user