Commits

Jason R. Coombs committed 8d68fcb

Can't open in binary mode anymore (Python 3 requires writing yaml as text)

Comments (0)

Files changed (1)

 			return cls(yaml.load(f))
 
 	def to_yaml(self, filename):
-		with open(filename, 'wb') as f:
+		with open(filename, 'w') as f:
 			yaml.dump(self, f)