Skip to content

newsfragments directory not created #85

@htgoebel

Description

@htgoebel

When running towncrier --draft first time, it crashes with:

Loading template...
Finding news fragments...
Traceback (most recent call last):
…
  File "/tmp/myvenv/lib/python2.7/site-packages/towncrier/_builder.py", line 46, in find_fragments
    files = os.listdir(section_dir)
OSError: [Errno 2] No such file or directory: '…/PyInstaller/newsfragments'

towncrier should not crash with a traceback, but catch the exception and print a nice error message without traceback. Or it should create this directory.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions