Permalink
Browse files

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

  • Loading branch information...
1 parent 6b7697b commit 3abaf7f4e5a64f5f25d07b0ff757733e4b80e378 @rcrowley rcrowley committed Dec 15, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 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'],

0 comments on commit 3abaf7f

Please sign in to comment.