Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# -------------------------------------

# ---- Need libraries installed by setup.py
cfn_flip>=1.0.2
cfn_flip>=1.2.1
awacs>=0.8

# ---- Documentation Libraries
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
# -------------------------------------

# ---- Need libraries installed by setup.py
cfn_flip>=1.0.2
cfn_flip>=1.2.1
4 changes: 2 additions & 2 deletions troposphere/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -784,9 +784,9 @@ def to_json(self, indent=4, sort_keys=True, separators=(',', ': ')):
return json.dumps(self.to_dict(), indent=indent,
sort_keys=sort_keys, separators=separators)

def to_yaml(self, clean_up=False, long_form=False):
def to_yaml(self, clean_up=False, long_form=False, literal=True):
return cfn_flip.to_yaml(self.to_json(), clean_up=clean_up,
long_form=long_form)
long_form=long_form, literal=literal)

def __eq__(self, other):
if isinstance(other, Template):
Expand Down