Skip to content

Commit 0f00982

Browse files
committed
incrparse: move include to top
Address feedback from ahoppen. NFC.
1 parent fc7830a commit 0f00982

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/incrparse/validate_parse.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
from __future__ import print_function
44

55
import argparse
6+
import difflib
67
import os
78
import sys
89

@@ -100,7 +101,6 @@ def main():
100101
sys.exit(1)
101102

102103
# Check if the two syntax trees are the same
103-
import difflib
104104
lines = difflib.unified_diff(open(incremental_serialized_file).readlines(),
105105
open(post_edit_serialized_file).readlines(),
106106
fromfile=incremental_serialized_file,

0 commit comments

Comments
 (0)