Handle multiply lines comments issue
authorLin Yang <lin.a.yang@intel.com>
Fri, 7 Dec 2012 08:56:25 +0000 (16:56 +0800)
committerLin Yang <lin.a.yang@intel.com>
Thu, 28 Feb 2013 07:44:18 +0000 (15:44 +0800)
Develop may provide multiply lines message for submit tag, so every
line of SR description may be not start with tag.

Change-Id: Ia34be1893af15ca1deda7908b550db03dcc48e48
Signed-off-by: Lin Yang <lin.a.yang@intel.com>
job_request.py

index c062bcf..6beea4d 100755 (executable)
@@ -115,7 +115,6 @@ def OBS_Git_data(event_fields):
                     print 'key:value  %s' %(line)
                     # FIXME: here is just a temp solution
                     print 'FATAL: no tag in submit description'
-                    sys.exit(1)
             if 'GIT_PROJECT' in entry.keys() and 'GIT_TAG' in entry.keys():
                 tag = tag_info(entry['GIT_PROJECT'], entry['GIT_TAG'])
                 entry.update(tag)