Skip to content

Commit

Permalink
Merge pull request #25 from dcecile/patch-1
Browse files Browse the repository at this point in the history
Replace deprecated 'gitignore' pattern factory in README.rst
  • Loading branch information
cpburnz authored Jan 24, 2019
2 parents ba9f083 + 394d730 commit bda235d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ If you want to load the patterns from file, you can pass the file instance
directly as well::

>>> with open('patterns.list', 'r') as fh:
>>> spec = pathspec.PathSpec.from_lines('gitignore', fh)
>>> spec = pathspec.PathSpec.from_lines('gitwildmatch', fh)

You can perform matching on a whole directory tree with::

Expand Down

0 comments on commit bda235d

Please sign in to comment.