Linux worldls-302.fr.planethoster.net 4.18.0-553.8.1.lve.el7h.x86_64 #1 SMP Thu Jul 4 15:19:33 UTC 2024 x86_64
LiteSpeed
Server IP : 10.185.0.203 & Your IP : 216.73.217.14
Domains :
Cant Read [ /etc/named.conf ]
User : gerathty
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
lib /
python2.7 /
site-packages /
docutils /
transforms /
Delete
Unzip
Name
Size
Permission
Date
Action
__init__.py
6.35
KB
-rw-r--r--
2017-04-04 16:39
__init__.pyc
5.93
KB
-rw-r--r--
2017-04-04 16:40
components.py
1.95
KB
-rw-r--r--
2017-04-04 16:39
components.pyc
2.37
KB
-rw-r--r--
2017-04-04 16:40
frontmatter.py
19
KB
-rw-r--r--
2017-04-04 16:39
frontmatter.pyc
16.82
KB
-rw-r--r--
2017-04-04 16:40
misc.py
4.77
KB
-rw-r--r--
2017-04-04 16:39
misc.pyc
4.44
KB
-rw-r--r--
2017-04-04 16:40
parts.py
6.82
KB
-rw-r--r--
2017-04-04 16:39
parts.pyc
6.95
KB
-rw-r--r--
2017-04-04 16:40
peps.py
10.8
KB
-rw-r--r--
2017-04-04 16:39
peps.pyc
10.88
KB
-rw-r--r--
2017-04-04 16:40
references.py
35.31
KB
-rw-r--r--
2017-04-04 16:39
references.pyc
27.76
KB
-rw-r--r--
2017-04-04 16:40
universal.py
10.35
KB
-rw-r--r--
2017-04-04 16:39
universal.pyc
9.93
KB
-rw-r--r--
2017-04-04 16:40
writer_aux.py
2.55
KB
-rw-r--r--
2017-04-04 16:39
writer_aux.pyc
2.82
KB
-rw-r--r--
2017-04-04 16:40
Save
Rename
# $Id: components.py 4564 2006-05-21 20:44:42Z wiemann $ # Author: David Goodger <goodger@python.org> # Copyright: This module has been placed in the public domain. """ Docutils component-related transforms. """ __docformat__ = 'reStructuredText' import sys import os import re import time from docutils import nodes, utils from docutils import ApplicationError, DataError from docutils.transforms import Transform, TransformError class Filter(Transform): """ Include or exclude elements which depend on a specific Docutils component. For use with `nodes.pending` elements. A "pending" element's dictionary attribute ``details`` must contain the keys "component" and "format". The value of ``details['component']`` must match the type name of the component the elements depend on (e.g. "writer"). The value of ``details['format']`` is the name of a specific format or context of that component (e.g. "html"). If the matching Docutils component supports that format or context, the "pending" element is replaced by the contents of ``details['nodes']`` (a list of nodes); otherwise, the "pending" element is removed. For example, the reStructuredText "meta" directive creates a "pending" element containing a "meta" element (in ``pending.details['nodes']``). Only writers (``pending.details['component'] == 'writer'``) supporting the "html" format (``pending.details['format'] == 'html'``) will include the "meta" element; it will be deleted from the output of all other writers. """ default_priority = 780 def apply(self): pending = self.startnode component_type = pending.details['component'] # 'reader' or 'writer' format = pending.details['format'] component = self.document.transformer.components[component_type] if component.supports(format): pending.replace_self(pending.details['nodes']) else: pending.parent.remove(pending)