File tree 2 files changed +7
-6
lines changed
images/docker-stacks-foundation
2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 2
2
# Copyright (c) Jupyter Development Team.
3
3
# Distributed under the terms of the Modified BSD License.
4
4
5
+ import json
6
+
5
7
# The run-hooks.py script looks for *.sh scripts to source
6
8
# and executable files to run within a passed directory
7
9
import os
8
- from textwrap import dedent
9
- import json
10
- import tempfile
11
- import sys
12
10
import subprocess
11
+ import sys
12
+ import tempfile
13
13
from pathlib import PosixPath
14
+ from textwrap import dedent
14
15
15
16
16
17
def source (path : PosixPath ):
@@ -109,4 +110,4 @@ def source(path: PosixPath):
109
110
print (f"Ignoring non-executable: { f } " )
110
111
111
112
112
- print (f"Done running hooks in: { hooks_directory } " )
113
+ print (f"Done running hooks in: { hooks_directory } " )
Original file line number Diff line number Diff line change 2
2
# Copyright (c) Jupyter Development Team.
3
3
# Distributed under the terms of the Modified BSD License.
4
4
5
- exec /usr/local/bin/run-hooks.py " $@ "
5
+ exec /usr/local/bin/run-hooks.py " $@ "
You can’t perform that action at this time.
0 commit comments