File tree 1 file changed +5
-4
lines changed
1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -442,8 +442,8 @@ def process_config_file(self, do_usage=True):
442
442
# if this is called from an RPC method, raise an error
443
443
raise ValueError (msg )
444
444
if hasattr (self , 'minfds' ) and hasattr (self , 'minprocs' ):
445
- print (f "Debug: minfds = { self .minfds } " )
446
- print (f "Debug: minprocs = { self .minprocs } " )
445
+ print ("Debug: minfds = {}" . format ( self .minfds ) )
446
+ print ("Debug: minprocs = {}" . format ( self .minprocs ) )
447
447
# Previous version
448
448
# def process_config_file(self, do_usage):
449
449
# # Process config file
@@ -1930,8 +1930,9 @@ def set_rlimits_or_exit(self):
1930
1930
usage() if any rlimits could not be set."""
1931
1931
limits = []
1932
1932
if hasattr (self , 'minfds' ) and hasattr (self , 'minprocs' ):
1933
- print (f"Debug: minfds = { self .minfds } " )
1934
- print (f"Debug: minprocs = { self .minprocs } " )
1933
+ print ("Debug: minfds = {}" .format (self .minfds ))
1934
+ print ("Debug: minprocs = {}" .format (self .minprocs ))
1935
+
1935
1936
1936
1937
if hasattr (resource , "RLIMIT_NOFILE" ):
1937
1938
if self .minfds is None :
You can’t perform that action at this time.
0 commit comments