Make job create CLI parse synch_count as an int instead of a string.



git-svn-id: http://test.kernel.org/svn/autotest/trunk@2422 592f7852-d20e-0410-864c-8624ca9c26a4
diff --git a/cli/job.py b/cli/job.py
index 24deb1f..bdbc6d1 100755
--- a/cli/job.py
+++ b/cli/job.py
@@ -221,7 +221,7 @@
                                'medium, high, urgent), default=medium',
                                type='choice', choices=('low', 'medium', 'high',
                                'urgent'), default='medium')
-        self.parser.add_option('-y', '--synch_count',
+        self.parser.add_option('-y', '--synch_count', type=int,
                                help='Number of machines to use per autoserv '
                                     'execution',
                                default=1)