Skip to content

Commit

Permalink
Scaffold now works when project name contains dashes (fixes #238)
Browse files Browse the repository at this point in the history
  • Loading branch information
leplatrem committed Aug 23, 2016
1 parent 981af99 commit d506499
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ Breaking changes

- Get rid of Buildout files (#369)

Bug fixes

- Scaffold now works when project name contains dashes (fixes #238)


1.2.1 (2016-03-15)
==================
Expand Down
6 changes: 3 additions & 3 deletions cornice/scaffolds/cornice/+package+.ini_tmpl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[app:main]
use = egg:{{package}}
use = egg:{{project}}

pyramid.reload_templates = true
pyramid.debug_authorization = false
Expand All @@ -16,7 +16,7 @@ port = 6543
# Begin logging configuration

[loggers]
keys = root, {{package}}
keys = root, {{project}}

[handlers]
keys = console
Expand All @@ -28,7 +28,7 @@ keys = generic
level = INFO
handlers = console

[logger_{{package}}]
[logger_{{project}}]
level = DEBUG
handlers =
qualname = {{package}}
Expand Down

0 comments on commit d506499

Please sign in to comment.