diff --git a/Phys/DaVinci/python/DaVinci/optionChecker.py b/Phys/DaVinci/python/DaVinci/optionChecker.py
index 8aeaa68fc32fbc396acc9ecbcb9ce25d3c43d765..9475f32495e5ba8f4cb08fe7759a9964dddcd44f 100644
--- a/Phys/DaVinci/python/DaVinci/optionChecker.py
+++ b/Phys/DaVinci/python/DaVinci/optionChecker.py
@@ -61,10 +61,9 @@ def option_checker(name, value):
             print_allowed_option_values(allowedValues, name)
             raise DVOptionError(name, value)
     except KeyError:
-        print set_color(
-            "red"
-        ) + "You are trying to check the unknown option %s!" % name + set_color(
-            "plain")
+        print(set_color("red") +
+              "You are trying to check the unknown option %s!" % name +
+              set_color("plain"))
         print_allowed_option_values()
 
 
@@ -87,14 +86,14 @@ def print_allowed_option_values(allowedValues, name=None):
     Print the allowed values for the DaVinci option configurations.
     """
     if name is None:
-        print set_color(
-            "green") + "Known job option configurations and allowed values:"
+        print(set_color("green") +
+              "Known job option configurations and allowed values:")
         for name, values in allowedValues.iteritems():
-            print "%s \t : %s" % (name, value), set_color("plain")
+            print("%s \t : %s" % (name, value), set_color("plain"))
     else:
-        print set_color(
-            "green") + "Allowed values for DaVinci option %s:" % name
-        print allowedValues[name], set_color("plain")
+        print(set_color("green") +
+              "Allowed values for DaVinci option %s:" % name)
+        print(allowedValues[name], set_color("plain"))
 
 
 def set_color(key):