We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1094d41 commit 669dff4Copy full SHA for 669dff4
webdiff/argparser.py
@@ -80,10 +80,8 @@ def parse(args):
80
# TODO: move into dirdiff?
81
def _shim_for_file_diff(a_file, b_file):
82
'''Sets A_DIR, B_DIR and DIFF to do a one-file diff.'''
83
- dirname = os.path.dirname
84
- basename = os.path.basename
85
- return LocalFileDiff(dirname(a_file), basename(a_file),
86
- dirname(b_file), basename(b_file),
+ return LocalFileDiff(os.path.dirname(a_file), a_file,
+ os.path.dirname(b_file), b_file,
87
False) # probably not a move
88
89
0 commit comments