Skip to content

Commit

Permalink
clint/texttui/core.py: fix for custom indent character
Browse files Browse the repository at this point in the history
  • Loading branch information
amitsaha committed Aug 26, 2012
1 parent 2e9a524 commit 69d9faf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions clint/textui/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def _indent_context():
yield
dedent()

def indent(indent=4, quote=''):
def indent(indent=4, quote='', indent_char=' '):
"""Indentation manager, return an indentation context manager."""
_indent(indent, quote)
_indent(indent, quote, indent_char)
return _indent_context()

0 comments on commit 69d9faf

Please sign in to comment.