Browse code

Change readChecksum to support multiple spaces between words.

Change-Id: If632263606fc99ad4a94006cac94ae6fc039f288
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/1470
Tested-by: gerrit-photon <photon-checkins@vmware.com>
Reviewed-by: Divya Thaluru <dthaluru@vmware.com>

xiaolin-vmware authored on 2016/09/22 03:07:33
Showing 1 changed files
... ...
@@ -331,7 +331,7 @@ class SpecParser(object):
331 331
         strUtils = StringUtils()
332 332
         line=pkg.decodeContents(line)
333 333
         data = line.strip();
334
-        words=data.split(" ")
334
+        words=data.split()
335 335
         nrWords = len(words)
336 336
         if (nrWords != 3):
337 337
             print "Error: Unable to parse line: "+line