Skip to content

Commit 4b6de33

Browse files
committed
Fix syntax errors in doc/upgrading.txt and .gitignore
doc/upgrading.txt produced errors with latest docutils about wrong block structure. Thanks to Cheer Xiao for the patches.
1 parent ebdbcd3 commit 4b6de33

File tree

4 files changed

+28
-24
lines changed

4 files changed

+28
-24
lines changed

CHANGES.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,9 @@ Fixed:
6868
section if there wasn't an empty line between the next quotes.
6969
- issue2431638 wrong registration link in bounce mail for non-registered
7070
users reported *years* ago by anonymous
71+
- Fix doc/upgrading.txt which produces errors with latest docutils about
72+
wrong block structure. Fix .gitignore in doc directory. Thanks to
73+
Cheer Xiao for the patches.
7174

7275

7376
2011-07-15: 1.4.19

doc/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,5 @@ postgresql.html
1818
tracker_templates.html
1919
whatsnew-0.7.html
2020
whatsnew-0.8.html
21+
xmlrpc.html
2122
*.ht

doc/acknowledgements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,5 +156,5 @@ Tue Wennerberg,
156156
Matt Wilbert,
157157
Chris Withers,
158158
David Wolever,
159-
Cheer Xiao
159+
Cheer Xiao,
160160
Milan Zamazal.

doc/upgrading.txt

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -22,29 +22,29 @@ following script will list likely issues being affected by the bug.
2222
The date in the script is the date of the 1.4.17 release. If you have
2323
installed 1.4.17 later than this date, you can change the date
2424
appropriately to your installation date. Run the script in the directory
25-
of your tracker.
26-
27-
#!/usr/bin/python
28-
import os
29-
from roundup import instance
30-
from roundup.date import Date
31-
dir = os.getcwd ()
32-
tracker = instance.open (dir)
33-
db = tracker.open ('admin')
34-
# you may want to change this to your install date to find less candidates
35-
last_release = Date('2011-05-13')
36-
affected = {}
37-
for i in db.issue.getnodeids():
38-
for j in db.issue.history(i):
39-
if i in affected:
40-
break
41-
if j[1] < last_release or j[3] != 'set' or 'files' not in j[4]:
42-
continue
43-
for op, p in j[4]['files']:
44-
if op == '-':
45-
affected [i] = 1
46-
break
47-
print ', '.join(sorted(affected.iterkeys()))
25+
of your tracker::
26+
27+
#!/usr/bin/python
28+
import os
29+
from roundup import instance
30+
from roundup.date import Date
31+
dir = os.getcwd ()
32+
tracker = instance.open (dir)
33+
db = tracker.open ('admin')
34+
# you may want to change this to your install date to find less candidates
35+
last_release = Date('2011-05-13')
36+
affected = {}
37+
for i in db.issue.getnodeids():
38+
for j in db.issue.history(i):
39+
if i in affected:
40+
break
41+
if j[1] < last_release or j[3] != 'set' or 'files' not in j[4]:
42+
continue
43+
for op, p in j[4]['files']:
44+
if op == '-':
45+
affected [i] = 1
46+
break
47+
print ', '.join(sorted(affected.iterkeys()))
4848

4949
To find out which files where attached before you can look in the
5050
history of the affected issue. For fixing issues you can re-attach the

0 commit comments

Comments
 (0)