/[adm]/puppet/deployment/mgagit/templates/git-post-receive-hook
ViewVC logotype

Diff of /puppet/deployment/mgagit/templates/git-post-receive-hook

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3380 by colin, Sat Dec 14 21:05:06 2013 UTC revision 3382 by colin, Sat Dec 14 21:17:18 2013 UTC
# Line 131  class LinksRevision(git_multimail.Revisi Line 131  class LinksRevision(git_multimail.Revisi
131                              bz = self.bugzilla_init()                              bz = self.bugzilla_init()
132    
133                              # Mask email address                              # Mask email address
134                              comment = output[0:idx]                              comment = None
135                                # Suppress the "Bug links:" section if only one bug
136                                # is referenced
137                                if len(bugs) == 1 and len(bugs['Mageia']) == 1:
138                                    comment = output[0:idx-4]
139                                else:
140                                    comment = output[0:idx]
141                              comment[1] = re.sub(r'^(Author: [^@]*)@.*(>)?', r'\1@...>', comment[1])                              comment[1] = re.sub(r'^(Author: [^@]*)@.*(>)?', r'\1@...>', comment[1])
142                              comment = "".join(comment)                              comment = "".join(comment)
143    

Legend:
Removed from v.3380  
changed lines
  Added in v.3382

  ViewVC Help
Powered by ViewVC 1.1.30