Skip to content

Commit

Permalink
Prepare for release
Browse files Browse the repository at this point in the history
  • Loading branch information
regebro committed Sep 24, 2018
1 parent 32c858b commit d01b50e
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 9 deletions.
2 changes: 1 addition & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Changes
2.0b8 (unreleased)
------------------

- Nothing changed yet.
- Performance improvements.


2.0b7 (2018-09-14)
Expand Down
3 changes: 0 additions & 3 deletions xmldiff/diff.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,10 +95,7 @@ def match(self, left=None, right=None):

# Let's just do the naive slow matchings, we can implement
# FastMatch later
lroot = self.left.getroottree()
lnodes = utils.post_order_traverse(self.left)

rroot = self.right.getroottree()
rnodes = list(utils.post_order_traverse(self.right))

# TODO: If the roots do not match, we should create new roots, and
Expand Down
5 changes: 0 additions & 5 deletions xmldiff/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,3 @@ def run(args=None):
pretty_print=args.pretty_print)
result = diff_files(args.file1, args.file2, formatter=formatter)
print(result)


# Being able to run this file directly is useful to run cProfiler:
if __name__ == '__main__':
run()

0 comments on commit d01b50e

Please sign in to comment.