Skip to content

Commit ac54258

Browse files
committed
rollback changes and fixed help comment
1 parent 240a419 commit ac54258

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

notebooker/_entrypoints.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ def filesystem_default_value(dirname):
6868
"--execute-at-origin",
6969
default=False,
7070
is_flag=True,
71-
help="If selected, notebooker will execute the notebook at the origin to keep original context",
71+
help="If selected, notebooker set current working directory to absolute path of the notebook to keep it local context available",
7272
)
7373
@click.option(
7474
"--default-mailfrom", default=DEFAULT_MAILFROM_ADDRESS, help="Set a new value for the default mailfrom setting."

notebooker/execute_notebook.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -539,7 +539,7 @@ def run_report_in_subprocess(
539539

540540
command = (
541541
[
542-
os.path.join("notebooker-cli"),
542+
os.path.join(sys.exec_prefix, "bin", "notebooker-cli"),
543543
"--output-base-dir",
544544
base_config.OUTPUT_DIR,
545545
"--template-base-dir",

tests/sanity/test_template_sanity.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
99

1010
logger = getLogger("template_sanity_check")
1111

12-
x
13-
1412

1513
@pytest.fixture(autouse=True)
1614
def clean_file_cache(clean_file_cache):

0 commit comments

Comments
 (0)