[Telepathy-commits] [telepathy-glib/master] glib-ginterface-gen.py: further Python coding style adjustments

Simon McVittie simon.mcvittie at collabora.co.uk
Fri Nov 28 02:42:26 PST 2008


---
 tools/glib-ginterface-gen.py |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/tools/glib-ginterface-gen.py b/tools/glib-ginterface-gen.py
index cb78eba..3040590 100644
--- a/tools/glib-ginterface-gen.py
+++ b/tools/glib-ginterface-gen.py
@@ -632,8 +632,10 @@ class Generator(object):
 
         self.h('#include <glib-object.h>')
         self.h('#include <dbus/dbus-glib.h>')
-        if (self.have_properties(nodes)):
+
+        if self.have_properties(nodes):
             self.h('#include <telepathy-glib/dbus-properties-mixin.h>')
+
         self.h('')
         self.h('G_BEGIN_DECLS')
         self.h('')
-- 
1.5.6.5



More information about the Telepathy-commits mailing list