format: Automatic formatting fixes.
All checks were successful
All checks were successful
This commit is contained in:
parent
506a17dc5c
commit
3b90723250
@ -83,7 +83,6 @@ class TableRow:
|
|||||||
return get_raw_contents(self.orig)
|
return get_raw_contents(self.orig)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
class Text:
|
class Text:
|
||||||
def __init__(self, content):
|
def __init__(self, content):
|
||||||
self.content = content
|
self.content = content
|
||||||
|
@ -641,9 +641,9 @@ class Headline:
|
|||||||
# TODO: Allow indentation of these blocks inside others
|
# TODO: Allow indentation of these blocks inside others
|
||||||
indentation_tree = [current_node]
|
indentation_tree = [current_node]
|
||||||
tree.append(current_node)
|
tree.append(current_node)
|
||||||
elif content.strip().startswith(':') and content.strip().endswith(':'):
|
elif content.strip().startswith(":") and content.strip().endswith(":"):
|
||||||
assert current_node is None
|
assert current_node is None
|
||||||
current_node = dom.GenericDrawerNode(content.strip().strip(':'))
|
current_node = dom.GenericDrawerNode(content.strip().strip(":"))
|
||||||
|
|
||||||
# TODO: Allow indentation of these blocks inside others
|
# TODO: Allow indentation of these blocks inside others
|
||||||
indentation_tree = [current_node]
|
indentation_tree = [current_node]
|
||||||
@ -887,7 +887,7 @@ class Headline:
|
|||||||
|
|
||||||
for line in everything:
|
for line in everything:
|
||||||
if start <= line.linenum < end:
|
if start <= line.linenum < end:
|
||||||
if 'get_raw' in dir(line):
|
if "get_raw" in dir(line):
|
||||||
yield "".join(line.get_raw())
|
yield "".join(line.get_raw())
|
||||||
else:
|
else:
|
||||||
yield line.line
|
yield line.line
|
||||||
|
@ -7,9 +7,9 @@ from .org_rw import (
|
|||||||
Italic,
|
Italic,
|
||||||
Line,
|
Line,
|
||||||
ListItem,
|
ListItem,
|
||||||
TableRow,
|
|
||||||
RawLine,
|
RawLine,
|
||||||
Strike,
|
Strike,
|
||||||
|
TableRow,
|
||||||
Text,
|
Text,
|
||||||
Underlined,
|
Underlined,
|
||||||
Verbatim,
|
Verbatim,
|
||||||
|
Loading…
Reference in New Issue
Block a user