Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix #106: don't insist the 'data' key exits.

  • Loading branch information...
commit 3abaf7f4e5a64f5f25d07b0ff757733e4b80e378 1 parent 6b7697b
Richard Crowley rcrowley authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  blueprint/frontend/sh.py
2  blueprint/frontend/sh.py
View
@@ -98,7 +98,7 @@ def file(pathname, f):
('do',),
('\t. "$F"',),
('done',),
- (f['data'].rstrip(),),
+ (f.get('data', '').rstrip(),),
(command(*commands,
escape_stdin=True,
stdin=f['template'],
Please sign in to comment.
Something went wrong with that request. Please try again.