@@ -81,12 +81,12 @@ def handle(self, *args, **options):
81
81
# Remove any previously created static output dirs
82
82
shutil .rmtree (transpile_path , ignore_errors = True )
83
83
self .stdout .write ("Transpiling..." )
84
- os .makedirs (TRANSPILE_CACHE_PATH , exists_ok = True )
84
+ os .makedirs (TRANSPILE_CACHE_PATH , exist_ok = True )
85
85
# We reload the file as other values may have changed in the meantime
86
86
set_last_run ("transpile" , start )
87
87
# Create a static output dir
88
88
out_dir = os .path .join (transpile_path , "js/" )
89
- os .makedirs (out_dir , exists_ok = True )
89
+ os .makedirs (out_dir , exist_ok = True )
90
90
with open (os .path .join (transpile_path , "README.txt" ), "w" ) as f :
91
91
f .write (
92
92
"These files have been automatically generated. "
@@ -124,7 +124,7 @@ def handle(self, *args, **options):
124
124
# Apps.
125
125
126
126
cache_path = os .path .join (TRANSPILE_CACHE_PATH , "js/" )
127
- os .makedirs (cache_path , exists_ok = True )
127
+ os .makedirs (cache_path , exist_ok = True )
128
128
# Note all cache files so that we can remove outdated files that no
129
129
# longer are in the prject.
130
130
cache_files = []
@@ -136,7 +136,7 @@ def handle(self, *args, **options):
136
136
outfile = os .path .join (cache_path , relative_path )
137
137
cache_files .append (outfile )
138
138
dirname = os .path .dirname (outfile )
139
- os .makedirs (dirname , exists_ok = True )
139
+ os .makedirs (dirname , exist_ok = True )
140
140
shutil .copyfile (sourcefile , outfile )
141
141
# Check for plugin connectors
142
142
if relative_path [:8 ] == "plugins/" :
0 commit comments