Fix distributed schedule to handle old style jobs. R12/R13/etc.

The new distributed scheduling changes don't play well with older style
jobs from R12 and R13. I've added some code to convert them to the new
style attribute dictionary.

BUG=none
TEST=run_remote_tests w/ R13+R14 control files.

Change-Id: I37faaeb957f1fcf00fa7c1ef0150c528a368c0bf
Reviewed-on: http://gerrit.chromium.org/gerrit/4031
Reviewed-by: Mike Truty <truty@chromium.org>
Tested-by: Dale Curtis <dalecurtis@chromium.org>
diff --git a/server/site_server_job_utils.py b/server/site_server_job_utils.py
index 2cb9c6f..d47efc8 100644
--- a/server/site_server_job_utils.py
+++ b/server/site_server_job_utils.py
@@ -30,7 +30,7 @@
     and server_job.
     """
 
-    def __init__(self, test_name, test_args, test_attribs={}):
+    def __init__(self, test_name, test_args, test_attribs=None):
         """Creates an instance of test_item.
 
         Args:
@@ -44,6 +44,8 @@
         self.test_name = test_name
         self.test_args = test_args
 
+        if test_attribs is None:
+            test_attribs = {}
         self.inc_set = set(test_attribs.get('include', []))
         self.exc_set = set(test_attribs.get('exclude', []))
         self.attributes = test_attribs.get('attributes', [])