diff --git a/pulp/apis/copt_api.py b/pulp/apis/copt_api.py index cbaf3adb..71183480 100644 --- a/pulp/apis/copt_api.py +++ b/pulp/apis/copt_api.py @@ -905,7 +905,7 @@ def __init__( # for some reason, using os.devnull does not work. if operating_system == "win": # windows doesn't have /dev/null - devnull = open('nul', "w") + devnull = open("nul", "w") else: # linux and mac should have /dev/null devnull = open("/dev/null", "w")