Autotest: Change logging.warn() to logging.warning().

logging.warn() is deprecated. See
http://bugs.python.org/issue13235

Substitution was performed via
~/cros/src/third_party/autotest/files$ find ./ -type f | xargs sed -i 's/logging.warn(/logging.warning(/'

BUG=None.
TEST=There should be one-- and preferably only one --obvious way to do it.

Change-Id: Ie5665743121a49f7fbd5d1f47896a7c65e87e489
Reviewed-on: https://chromium-review.googlesource.com/198793
Commit-Queue: Ilja Friedel <[email protected]>
Tested-by: Ilja Friedel <[email protected]>
Reviewed-by: Alex Miller <[email protected]>
diff --git a/server/server_job.py b/server/server_job.py
index 1936b01..2d5a93d 100644
--- a/server/server_job.py
+++ b/server/server_job.py
@@ -635,7 +635,7 @@
                 try:
                     shutil.rmtree(temp_control_file_dir)
                 except Exception, e:
-                    logging.warn('Could not remove temp directory %s: %s',
+                    logging.warning('Could not remove temp directory %s: %s',
                                  temp_control_file_dir, e)
 
             if machines and (collect_crashdumps or collect_crashinfo):