Permalink
Browse files

Cast task to a dictionary before dumping to YAML

  • Loading branch information...
1 parent 5cf6b49 commit 8c6e45dc63525cb20d236735879c90b4240ba723 @198d committed May 18, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 clask/task.py
View
2 clask/task.py
@@ -49,4 +49,4 @@ def from_string(task):
def dump(task):
- return yaml.dump(task, Dumper=Dumper, default_flow_style=False)
+ return yaml.dump(dict(task), Dumper=Dumper, default_flow_style=False)

0 comments on commit 8c6e45d

Please sign in to comment.