icdiff 2.0.7__tar.gz → 2.0.10__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {icdiff-2.0.7/icdiff.egg-info → icdiff-2.0.10}/PKG-INFO +11 -2
- {icdiff-2.0.7 → icdiff-2.0.10/icdiff.egg-info}/PKG-INFO +11 -2
- {icdiff-2.0.7 → icdiff-2.0.10}/icdiff.py +5 -6
- {icdiff-2.0.7 → icdiff-2.0.10}/LICENSE +0 -0
- {icdiff-2.0.7 → icdiff-2.0.10}/MANIFEST.in +0 -0
- {icdiff-2.0.7 → icdiff-2.0.10}/README.md +0 -0
- {icdiff-2.0.7 → icdiff-2.0.10}/git-icdiff +0 -0
- {icdiff-2.0.7 → icdiff-2.0.10}/icdiff.egg-info/SOURCES.txt +0 -0
- {icdiff-2.0.7 → icdiff-2.0.10}/icdiff.egg-info/dependency_links.txt +0 -0
- {icdiff-2.0.7 → icdiff-2.0.10}/icdiff.egg-info/entry_points.txt +0 -0
- {icdiff-2.0.7 → icdiff-2.0.10}/icdiff.egg-info/top_level.txt +0 -0
- {icdiff-2.0.7 → icdiff-2.0.10}/setup.cfg +0 -0
- {icdiff-2.0.7 → icdiff-2.0.10}/setup.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: icdiff
|
|
3
|
-
Version: 2.0.
|
|
3
|
+
Version: 2.0.10
|
|
4
4
|
Summary: improved colored diff
|
|
5
5
|
Home-page: https://www.jefftk.com/icdiff
|
|
6
6
|
Author: Jeff Kaufman
|
|
@@ -9,6 +9,15 @@ Project-URL: Source, https://github.com/jeffkaufman/icdiff
|
|
|
9
9
|
Classifier: License :: OSI Approved :: Python Software Foundation License
|
|
10
10
|
Description-Content-Type: text/markdown
|
|
11
11
|
License-File: LICENSE
|
|
12
|
+
Dynamic: author
|
|
13
|
+
Dynamic: author-email
|
|
14
|
+
Dynamic: classifier
|
|
15
|
+
Dynamic: description
|
|
16
|
+
Dynamic: description-content-type
|
|
17
|
+
Dynamic: home-page
|
|
18
|
+
Dynamic: license-file
|
|
19
|
+
Dynamic: project-url
|
|
20
|
+
Dynamic: summary
|
|
12
21
|
|
|
13
22
|
# Icdiff
|
|
14
23
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: icdiff
|
|
3
|
-
Version: 2.0.
|
|
3
|
+
Version: 2.0.10
|
|
4
4
|
Summary: improved colored diff
|
|
5
5
|
Home-page: https://www.jefftk.com/icdiff
|
|
6
6
|
Author: Jeff Kaufman
|
|
@@ -9,6 +9,15 @@ Project-URL: Source, https://github.com/jeffkaufman/icdiff
|
|
|
9
9
|
Classifier: License :: OSI Approved :: Python Software Foundation License
|
|
10
10
|
Description-Content-Type: text/markdown
|
|
11
11
|
License-File: LICENSE
|
|
12
|
+
Dynamic: author
|
|
13
|
+
Dynamic: author-email
|
|
14
|
+
Dynamic: classifier
|
|
15
|
+
Dynamic: description
|
|
16
|
+
Dynamic: description-content-type
|
|
17
|
+
Dynamic: home-page
|
|
18
|
+
Dynamic: license-file
|
|
19
|
+
Dynamic: project-url
|
|
20
|
+
Dynamic: summary
|
|
12
21
|
|
|
13
22
|
# Icdiff
|
|
14
23
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env python3
|
|
2
2
|
|
|
3
|
-
"""
|
|
3
|
+
"""icdiff.py
|
|
4
4
|
|
|
5
5
|
Author: Jeff Kaufman, derived from difflib.HtmlDiff
|
|
6
6
|
|
|
@@ -11,7 +11,7 @@ Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006 Python Software Foundation;
|
|
|
11
11
|
All Rights Reserved
|
|
12
12
|
|
|
13
13
|
Based on Python's difflib.HtmlDiff,
|
|
14
|
-
with changes to provide console output instead of html output.
|
|
14
|
+
with changes to provide console output instead of html output."""
|
|
15
15
|
|
|
16
16
|
import os
|
|
17
17
|
import stat
|
|
@@ -22,10 +22,9 @@ from optparse import Option, OptionParser
|
|
|
22
22
|
import re
|
|
23
23
|
import filecmp
|
|
24
24
|
import unicodedata
|
|
25
|
-
import codecs
|
|
26
25
|
import fnmatch
|
|
27
26
|
|
|
28
|
-
__version__ = "2.0.
|
|
27
|
+
__version__ = "2.0.10"
|
|
29
28
|
|
|
30
29
|
# Exit code constants
|
|
31
30
|
EXIT_CODE_SUCCESS = 0
|
|
@@ -759,7 +758,7 @@ def set_cols_option(options):
|
|
|
759
758
|
import struct
|
|
760
759
|
|
|
761
760
|
cr = struct.unpack(
|
|
762
|
-
"
|
|
761
|
+
"hhhh", fcntl.ioctl(fd, termios.TIOCGWINSZ, "12345678")
|
|
763
762
|
)
|
|
764
763
|
except Exception:
|
|
765
764
|
return None
|
|
@@ -877,7 +876,7 @@ def diff(options, a, b):
|
|
|
877
876
|
|
|
878
877
|
def read_file(fname, options):
|
|
879
878
|
try:
|
|
880
|
-
with
|
|
879
|
+
with open(fname, encoding=options.encoding, newline="") as inf:
|
|
881
880
|
return inf.readlines()
|
|
882
881
|
except UnicodeDecodeError as e:
|
|
883
882
|
codec_print(
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|