Skip to content

Commit

Permalink
Merge pull request #375 from mozilla-services/238-fix-project-scaffold
Browse files Browse the repository at this point in the history
Scaffold now works when project name contains dashes (fixes #238)
  • Loading branch information
leplatrem committed Aug 23, 2016
2 parents 981af99 + d506499 commit eb0cafb
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 eb0cafb

Please sign in to comment.