~ubuntu-branches/ubuntu/dapper/python-docutils/dapper

« back to all changes in this revision

Viewing changes to docutils/transforms/__init__.py

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2005-12-13 13:47:41 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20051213134741-fhuh5tq3n346q1oj
Tags: 0.3.9-0.1ubuntu1
Synchronize with Debian unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
# Authors: David Goodger, Ueli Schlaepfer
2
2
# Contact: goodger@users.sourceforge.net
3
 
# Revision: $Revision: 1.10 $
4
 
# Date: $Date: 2004/03/25 23:01:10 $
 
3
# Revision: $Revision: 3066 $
 
4
# Date: $Date: 2005-03-21 18:33:42 +0100 (Mon, 21 Mar 2005) $
5
5
# Copyright: This module has been placed in the public domain.
6
6
 
7
7
"""
59
59
        self.language = languages.get_language(
60
60
            document.settings.language_code)
61
61
        """Language module local to this document."""
62
 
        
 
62
 
63
63
 
64
64
    def apply(self):
65
65
        """Override to apply the transform to the document tree."""
164
164
        decorated_list.sort()
165
165
        self.unknown_reference_resolvers.extend([f[1] for f in decorated_list])
166
166
 
167
 
 
168
167
    def apply_transforms(self):
169
168
        """Apply all of the stored transforms, in priority order."""
170
169
        self.document.reporter.attach_observer(