Changeset

1135:355f9487ab38

util/serialization: Fixed serialization formatting
author Waqas Hussain <waqas20@gmail.com>
date Fri, 08 May 2009 01:06:45 +0500
parents 1134:3b1809910773
children 1136:506012db54e8
files util/serialization.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/util/serialization.lua	Fri May 08 01:05:53 2009 +0500
+++ b/util/serialization.lua	Fri May 08 01:06:45 2009 +0500
@@ -53,7 +53,7 @@
 		func(t, (o and "true" or "false"));
 	else
 		log("error", "cannot serialize a %s: %s", type(o), debug_traceback())
-		func(t, "nil,\n");
+		func(t, "nil");
 	end
 end