Merge "Move print statments over to py3 style."
am: fa8dc66978
Change-Id: I27a51f99a22f4d993dcafd7c43c9a6568729be81
diff --git a/public/device_driver.py b/public/device_driver.py
index 31cbb12..b20236c 100755
--- a/public/device_driver.py
+++ b/public/device_driver.py
@@ -27,12 +27,14 @@
- CleanupStaleDevices():
"""
+from __future__ import print_function
import datetime
import logging
import os
import socket
import subprocess
+# pylint: disable=import-error
import dateutil.parser
import dateutil.tz
@@ -638,6 +640,6 @@
if not compute_client.CheckAccess():
logger.error("User does not have access to project %s", cfg.project)
# Print here so that command line user can see it.
- print "Looks like you do not have access to %s. " % cfg.project
+ print("Looks like you do not have access to %s. " % cfg.project)
if cfg.project in cfg.no_project_access_msg_map:
- print cfg.no_project_access_msg_map[cfg.project]
+ print(cfg.no_project_access_msg_map[cfg.project])