Suppress deprecation warnings from control_data.py.

The control_data module imports the deprecated `compiler` module.
Although by default Python doesn't report deprecation warnings,
Autotest explicitly chooses to log all warnings, including
DeprecationWarning exceptions.  The warning is spamming multiple
logs, and also shows up on the output of various autotest
command-line tools (e.g. `atest`).

This is a point fix to suppress the warning; it doesn't
address the underlying issue.

BUG=chromium:243906
TEST=run 'atest' on a local autotest instance

Change-Id: I7e1eed2f84ea506f96b8f7894f07519bdaad9d51
Reviewed-on: https://gerrit.chromium.org/gerrit/56090
Reviewed-by: Richard Barnette <jrbarnette@chromium.org>
Tested-by: Richard Barnette <jrbarnette@chromium.org>
Commit-Queue: Richard Barnette <jrbarnette@chromium.org>
diff --git a/client/common_lib/control_data.py b/client/common_lib/control_data.py
index f6de586..16960cc 100644
--- a/client/common_lib/control_data.py
+++ b/client/common_lib/control_data.py
@@ -1,7 +1,13 @@
 # pylint: disable-msg=C0111
 # Copyright 2008 Google Inc. Released under the GPL v2
 
-import compiler, logging, textwrap
+import warnings
+with warnings.catch_warnings():
+    # The 'compiler' module is gone in Python 3.0.  Let's not say
+    # so in every log file.
+    warnings.simplefilter("ignore", DeprecationWarning)
+    import compiler
+import logging, textwrap
 
 from autotest_lib.client.common_lib import enum