summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAbhishek Pandit <abhishekpandit@google.com>2016-11-10 13:33:17 -0800
committerAbhishek Pandit <abhishekpandit@google.com>2016-11-18 10:11:39 -0800
commitaa71a3ed5dc2d128223ff3dc5f0c04474be40803 (patch)
tree6576bdbc3621f37b51fb17cd70895d1518d4a411
parentc5b45f164c31d96f6ba4aef61d597e0a6e9866ad (diff)
downloadsdbusplus-aa71a3ed5dc2d128223ff3dc5f0c04474be40803.tar.gz
sdbusplus-aa71a3ed5dc2d128223ff3dc5f0c04474be40803.zip
Removed leading spaces from template
Removed leading spaces that were leaving trailing spaces in generated files. Change-Id: I99927e7b8fe3762cf0cc28d113e02eae2fcd4db3 Signed-off-by: Abhishek Pandit <abhishekpandit@google.com>
-rw-r--r--tools/sdbusplus/templates/interface.mako.server.cpp12
-rw-r--r--tools/sdbusplus/templates/interface.mako.server.hpp8
2 files changed, 10 insertions, 10 deletions
diff --git a/tools/sdbusplus/templates/interface.mako.server.cpp b/tools/sdbusplus/templates/interface.mako.server.cpp
index 93e66d1..50a6cad 100644
--- a/tools/sdbusplus/templates/interface.mako.server.cpp
+++ b/tools/sdbusplus/templates/interface.mako.server.cpp
@@ -5,13 +5,13 @@
% for m in interface.methods:
${ m.cpp_prototype(loader, interface=interface, ptype='callback-cpp-includes') }
% endfor
- <%
- namespaces = interface.name.split('.')
- classname = namespaces.pop()
+<%
+ namespaces = interface.name.split('.')
+ classname = namespaces.pop()
- def interface_instance():
- return "_".join(interface.name.split('.') + ['interface'])
- %>
+ def interface_instance():
+ return "_".join(interface.name.split('.') + ['interface'])
+%>
namespace sdbusplus
{
% for s in namespaces:
diff --git a/tools/sdbusplus/templates/interface.mako.server.hpp b/tools/sdbusplus/templates/interface.mako.server.hpp
index b7f8c71..77b9ab9 100644
--- a/tools/sdbusplus/templates/interface.mako.server.hpp
+++ b/tools/sdbusplus/templates/interface.mako.server.hpp
@@ -2,10 +2,10 @@
#include <tuple>
#include <systemd/sd-bus.h>
#include <sdbusplus/server.hpp>
- <%
- namespaces = interface.name.split('.')
- classname = namespaces.pop()
- %>
+<%
+ namespaces = interface.name.split('.')
+ classname = namespaces.pop()
+%>
namespace sdbusplus
{
% for s in namespaces:
OpenPOWER on IntegriCloud