diff options
author | Sebastian Thiel <byronimo@gmail.com> | 2018-03-24 13:45:17 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-24 13:45:17 +0100 |
commit | f3265bd8beb017890699d093586126ff8af4a3fe (patch) | |
tree | ccf02df66dbb979c7f6da6949456902a06aa1b1e /git/diff.py | |
parent | 9f12b26b81a8e7667b2a26a7878e5bc033610ed5 (diff) | |
parent | 80b038f8d8c7c67c148ebd7a5f7a0cb39541b761 (diff) | |
download | gitpython-f3265bd8beb017890699d093586126ff8af4a3fe.tar.gz |
Merge pull request #737 from hugovk/rm-2.6
Drop support for EOL Python 2.6 and 3.3
Diffstat (limited to 'git/diff.py')
-rw-r--r-- | git/diff.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/git/diff.py b/git/diff.py index 28c10e49..d7221ac7 100644 --- a/git/diff.py +++ b/git/diff.py @@ -61,7 +61,7 @@ class Diffable(object): :note: Subclasses require a repo member as it is the case for Object instances, for practical reasons we do not derive from Object.""" - __slots__ = tuple() + __slots__ = () # standin indicating you want to diff against the index class Index(object): @@ -106,7 +106,7 @@ class Diffable(object): :note: On a bare repository, 'other' needs to be provided as Index or as as Tree/Commit, or a git command error will occur""" - args = list() + args = [] args.append("--abbrev=40") # we need full shas args.append("--full-index") # get full index paths, not only filenames |