Commits

Thejesh GN committed 3727926

removed \n from the output

  • Participants
  • Parent commits ba82416

Comments (0)

Files changed (1)

File commitsigs.py

         out, err = p.communicate(msg)
         if 'GOODSIG' in out:
             m = re.search('GOODSIG.*\n', out)            
-            return (True, m.group(0).replace('GOODSIG',''))
+            return (True, m.group(0).replace('GOODSIG','').replace('\n',''))
         else:
             return (False, "No Match")
     finally: