ports/textproc/asciidoc/files/patch-asciidoc.py
Dennis Herrmann 565adeee88 - Update to 8.4.2
PR:		ports/133433
Submitted by:	Peter Schuller <peter.schuller@infidyne.com> (maintainer)
Approved by:	tabthorpe (co-mentor)
2009-04-07 21:58:54 +00:00

17 lines
560 B
Python

--- asciidoc.py Mon Mar 30 18:37:04 2009 +1300
+++ asciidoc.py Fri Apr 03 12:38:26 2009 +1300
@@ -3845,9 +3845,9 @@
else:
sections[section] = contents
rdr.close()
- document.update_attributes() # So they are available immediately.
self.load_sections(sections)
self.loaded.append(os.path.realpath(fname))
+ document.update_attributes() # So they are available immediately.
def load_sections(self,sections):
'''Loads sections dictionary. Each dictionary entry contains a