Skip to content

Commit

Permalink
Remove redundant code (#334)
Browse files Browse the repository at this point in the history
* Remove redundant code

As far as I can tell the result of this assignment is never used

* Create 334.misc.rst

Co-authored-by: Kyle Altendorf <sda@fstab.net>
  • Loading branch information
hexagonrecursion and altendky authored Apr 5, 2021
1 parent 3c8a92b commit 19eb09b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 0 additions & 2 deletions src/towncrier/check.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,6 @@ def __main(comparewith, directory, config):
click.echo("{}. {}".format(n, change))
click.echo("----")

fragments = set()

if config.get("directory"):
fragment_base_directory = os.path.abspath(config["directory"])
fragment_directory = None
Expand Down
1 change: 1 addition & 0 deletions src/towncrier/newsfragments/334.misc.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

0 comments on commit 19eb09b

Please sign in to comment.