summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsixolet <naomi@seyfer.org>2018-09-06 11:29:20 -0700
committersixolet <naomi@seyfer.org>2018-09-06 11:29:20 -0700
commit56383ab8491ed86f6a2133aeff2dd03dad4e829a (patch)
tree093fc206f4c2bb499b219e49051793f0deb37382
parentd1b56331c091376d9afc88a5b0b533a89034e7cd (diff)
downloadruamel.yaml-56383ab8491ed86f6a2133aeff2dd03dad4e829a.tar.gz
Fix whitespace
-rw-r--r--scanner.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/scanner.py b/scanner.py
index 656642f..e4a8765 100644
--- a/scanner.py
+++ b/scanner.py
@@ -533,11 +533,11 @@ class Scanner(object):
self.remove_possible_simple_key()
# Decrease the flow level.
try:
- popped = self.flow_context.pop()
+ popped = self.flow_context.pop()
except IndexError:
- # We must not be in a list or object.
- # Defer error handling to the parser.
- pass
+ # We must not be in a list or object.
+ # Defer error handling to the parser.
+ pass
# No simple keys after ']' or '}'.
self.allow_simple_key = False
# Add FLOW-SEQUENCE-END or FLOW-MAPPING-END.