changeset 18117:cd81f8f36788

Fix some weird whitespace in the output.
author Richard Laager <rlaager@wiktel.com>
date Sat, 16 Jun 2007 19:21:06 +0000
parents ee0899360e8b
children ab6d2763b8d8
files libpurple/dbus-analyze-functions.py
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/dbus-analyze-functions.py	Sat Jun 16 19:09:52 2007 +0000
+++ b/libpurple/dbus-analyze-functions.py	Sat Jun 16 19:21:06 2007 +0000
@@ -298,7 +298,7 @@
         print "\tdbus_message_append_args(reply_DBUS,",
         for param in self.cparamsout:
             if type(param) is str:
-                print "%s," % param
+                print "%s," % param,
             else:
                 print "DBUS_TYPE_%s, &%s," % param,
         print "DBUS_TYPE_INVALID);"
@@ -409,7 +409,7 @@
             self.ccode.append("\tlist = %s;" % self.call)
             self.ccode.append("\t%s = (char **)purple_const_%s_to_array(list, &%s_LEN);" % \
                          (name, type[0], name))
-            self.cparamsout.append("\tDBUS_TYPE_ARRAY, DBUS_TYPE_STRING, &%s, %s_LEN" \
+            self.cparamsout.append("DBUS_TYPE_ARRAY, DBUS_TYPE_STRING, &%s, %s_LEN" \
                           % (name, name))
             if (not const):
                 type_name = type[0].lower()[1:]
@@ -423,7 +423,7 @@
                          (name, type[0], name))
             if (not const):
                 self.ccode.append("\tg_%s_free(list);" % type[0].lower()[1:])
-            self.cparamsout.append("\tDBUS_TYPE_ARRAY, DBUS_TYPE_INT32, &%s, %s_LEN" \
+            self.cparamsout.append("DBUS_TYPE_ARRAY, DBUS_TYPE_INT32, &%s, %s_LEN" \
                               % (name, name))
             self.addouttype("ai", name)