summaryrefslogtreecommitdiff
path: root/mdbp/ssh.py
diff options
context:
space:
mode:
Diffstat (limited to 'mdbp/ssh.py')
-rw-r--r--mdbp/ssh.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/mdbp/ssh.py b/mdbp/ssh.py
index 50b7d25..4cb64cd 100644
--- a/mdbp/ssh.py
+++ b/mdbp/ssh.py
@@ -26,12 +26,12 @@ def produce_request_tar(buildjsonobj: JsonObject,
del sendjsonobj["output"]["directory"]
dscpath: typing.Optional[pathlib.Path]
try:
- dscpath = pathlib.Path(buildjsonobj["input"]["dscpath"])
+ dscpath = pathlib.Path(buildjsonobj["input"]["source_package_path"])
except KeyError:
dscpath = None
else:
sendjsonobj["input"] = sendjsonobj["input"].copy()
- sendjsonobj["input"]["dscpath"] = dscpath.name
+ sendjsonobj["input"]["source_package_path"] = dscpath.name
tar = tarfile.open(mode="w|", fileobj=fileobj)
info = tarfile.TarInfo("build.json")
sendjsonfile = io.BytesIO()