[Devel] [PATCH] ckptinfo.py: revert commit 8f99ace6513f958d572ef690d7af111991124f5c

Oren Laadan orenl at librato.com
Tue Sep 22 17:16:50 PDT 2009


Said commit "slightly" broke 'ckptinfo -ve', causing it to produce
only "--UNKNOWN--" objects.

Signed-off-by: Oren Laadan <orenl at cs.columbia.edu>
---
 ckptinfo.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ckptinfo.py b/ckptinfo.py
index add73cb..1c98569 100755
--- a/ckptinfo.py
+++ b/ckptinfo.py
@@ -42,7 +42,7 @@ char *%s_to_str(int type)
 	switch (type) {
 """ % type
     for key in list:
-        print "#ifdef CKPT_%s\n\tcase CKPT_%s: return \"%s\";\n#endif" % (key, key, key)
+        print "\tcase CKPT_%s: return \"%s\";\n" % (key, key)
 
     print """
 	}
-- 
1.6.0.4

_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers




More information about the Devel mailing list