File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -119,8 +119,7 @@ def make_template(
119119
120120 # Copy configuration files
121121 template = (
122- template
123- .copy ("matplotlibrc" , ".config/matplotlib/.matplotlibrc" )
122+ template .copy ("matplotlibrc" , ".config/matplotlib/.matplotlibrc" )
124123 .copy ("start-up.sh" , ".jupyter/start-up.sh" )
125124 .run_cmd ("chmod +x .jupyter/start-up.sh" )
126125 .copy ("jupyter_server_config.py" , ".jupyter/" )
@@ -135,7 +134,9 @@ def make_template(
135134 template = template .run_cmd ("mkdir -p /home/user" )
136135 template = template .run_cmd ("chown -R user:user /home/user" )
137136 # add to sudoers
138- template = template .run_cmd ("echo 'user ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers" )
137+ template = template .run_cmd (
138+ "echo 'user ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers"
139+ )
139140 # own everything in /root to user
140141 template = template .run_cmd ("chown -R user:user /root" )
141142
You can’t perform that action at this time.
0 commit comments