diff --git a/indra/newview/viewer_manifest.py b/indra/newview/viewer_manifest.py
index 1809b707ef8fdcdacf195f2929dcd9f0662cf006..c9aa82f7d4e395922da5d6dc21eeedd873fe330b 100755
--- a/indra/newview/viewer_manifest.py
+++ b/indra/newview/viewer_manifest.py
@@ -1344,7 +1344,7 @@ def package_finish(self):
                             # 'err' goes out of scope
                             sign_failed = err
                     else:
-                        print >> sys.stderr, "Maximum codesign attempts exceeded; giving up"
+                        print("Maximum codesign attempts exceeded; giving up", file=sys.stderr)
                         raise sign_failed
                     self.run_command(['spctl', '-a', '-texec', '-vvvv', app_in_dmg])
                     self.run_command([self.src_path_of("installers/darwin/apple-notarize.sh"), app_in_dmg])