README.rst | 2 +- patiencediff/__main__.py | 4 +--- patiencediff/_patiencediff_py.py | 1 - 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/README.rst b/README.rst index 14e10d3..abb68f5 100644 --- a/README.rst +++ b/README.rst @@ -1,7 +1,7 @@ This package contains the implementation of the ``patiencediff`` algorithm, as `first described `_ by Bram Cohen. -Like Python's ``difflib``, this module provides both a convience ``unified_diff`` +Like Python's ``difflib``, this module provides both a convenience ``unified_diff`` function for the generation of unified diffs of text files as well as a SequenceMatcher that can be used on arbitrary lists. diff --git a/patiencediff/__main__.py b/patiencediff/__main__.py index 2739b1f..100bb8f 100644 --- a/patiencediff/__main__.py +++ b/patiencediff/__main__.py @@ -1,4 +1,3 @@ -#!/usr/bin/env python # Copyright (C) 2005, 2006, 2007 Canonical Ltd # # This program is free software; you can redistribute it and/or modify @@ -49,5 +48,4 @@ def main(args): sys.stdout.write(line) -if __name__ == '__main__': - sys.exit(main(sys.argv[1:])) +sys.exit(main(sys.argv[1:])) diff --git a/patiencediff/_patiencediff_py.py b/patiencediff/_patiencediff_py.py index 64210a1..b2fbc2c 100644 --- a/patiencediff/_patiencediff_py.py +++ b/patiencediff/_patiencediff_py.py @@ -1,4 +1,3 @@ -#!/usr/bin/env python # Copyright (C) 2005 Bram Cohen, Copyright (C) 2005, 2006 Canonical Ltd # # This program is free software; you can redistribute it and/or modify