summaryrefslogtreecommitdiff
path: root/qpid/cpp/managementgen/schema.py
diff options
context:
space:
mode:
Diffstat (limited to 'qpid/cpp/managementgen/schema.py')
-rwxr-xr-xqpid/cpp/managementgen/schema.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/qpid/cpp/managementgen/schema.py b/qpid/cpp/managementgen/schema.py
index 4f5dc216ab..921c1bf01f 100755
--- a/qpid/cpp/managementgen/schema.py
+++ b/qpid/cpp/managementgen/schema.py
@@ -890,8 +890,7 @@ class SchemaClass:
def genMethodArgIncludes (self, stream, variables):
for method in self.methods:
if method.getArgCount () > 0:
- stream.write ("#include \"" + (self.options.include_prefix or "") +\
- "Args" + method.getFullName () + ".h\"\n")
+ stream.write ("#include \"Args" + method.getFullName () + ".h\"\n")
def genMethodCount (self, stream, variables):
stream.write ("%d" % len (self.methods))
@@ -1040,7 +1039,7 @@ class PackageSchema:
def genClassIncludes (self, stream, variables):
for _class in self.classes:
- stream.write ("#include \"qpid/management/")
+ stream.write ("#include \"")
_class.genNameCap (stream, variables)
stream.write (".h\"\n")