File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -141,7 +141,7 @@ def get_argparser():
141
141
argparser .add_argument (
142
142
"--build-memory-limit" ,
143
143
# Removed argument, but we still want to support printing an error message if this is passed
144
- help = argparse .SUPPRESS
144
+ help = argparse .SUPPRESS ,
145
145
)
146
146
147
147
argparser .add_argument (
@@ -437,7 +437,10 @@ def make_r2d(argv=None):
437
437
if args .build_memory_limit :
438
438
# We no longer support build_memory_limit, it must be set in the builder instance
439
439
print ("--build-memory-limit is no longer supported" , file = sys .stderr )
440
- print ("Use `docker buildx create` to create a custom builder with appropriate memory limits instead" , file = sys .stderr )
440
+ print (
441
+ "Use `docker buildx create` to create a custom builder with appropriate memory limits instead" ,
442
+ file = sys .stderr ,
443
+ )
441
444
sys .exit (- 1 )
442
445
443
446
if args .environment and not r2d .run :
Original file line number Diff line number Diff line change @@ -176,7 +176,10 @@ def _default_log_level(self):
176
176
@observe ("build_memory_limit" )
177
177
def build_memory_limit_changed (self , change ):
178
178
print ("Setting build_memory_limit is not supported" , file = sys .stderr )
179
- print ("Use `docker buildx create` to create a custom builder with appropriate memory limits instead" , file = sys .stderr )
179
+ print (
180
+ "Use `docker buildx create` to create a custom builder with appropriate memory limits instead" ,
181
+ file = sys .stderr ,
182
+ )
180
183
sys .exit (- 1 )
181
184
182
185
volumes = Dict (
You can’t perform that action at this time.
0 commit comments