/[gentoo]/src/packages/changelogs.py
Gentoo

Diff of /src/packages/changelogs.py

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

Revision 1.5 Revision 1.6
41 substring = string[start:end] 41 substring = string[start:end]
42 html = '<span class="change"><span class="date">%s</span>%s</span>' % \ 42 html = '<span class="change"><span class="date">%s</span>%s</span>' % \
43 (substring[:11], substring[11:]) 43 (substring[:11], substring[11:])
44 (string, index) = mstring.replace_sub(string[:end+1], html, start, end) 44 (string, index) = mstring.replace_sub(string[:end+1], html, start, end)
45 string = GENTOO_DEV.sub('(<a href="%s\\2">\\1</a>)' % CIA_URL, string) 45 string = GENTOO_DEV.sub('(<a href="%s\\2">\\1</a>)' % CIA_URL, string)
46 return '<span style="white-space: pre">%s\n\n</span>' % string 46 return '<span class="change">%s\n\n</span>' % string
47 47
48def changelog(filename): 48def changelog(filename):
49 try: 49 try:
50 #print filename 50 #print filename
51 fp = open(filename,'r') 51 fp = open(filename,'r')

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

  ViewVC Help
Powered by ViewVC 1.1.20