summaryrefslogtreecommitdiffstats
path: root/dcoppython
diff options
context:
space:
mode:
Diffstat (limited to 'dcoppython')
-rw-r--r--dcoppython/lib/Makefile.am2
-rw-r--r--dcoppython/shell/gen_marshal_code.py16
2 files changed, 9 insertions, 9 deletions
diff --git a/dcoppython/lib/Makefile.am b/dcoppython/lib/Makefile.am
index 99dbac94..c72a0662 100644
--- a/dcoppython/lib/Makefile.am
+++ b/dcoppython/lib/Makefile.am
@@ -1,4 +1,4 @@
pyt_DATA = pydcop.py
-pytdir = $(PYTHONMODDIR)
+pytdir = $(PYTHONMODDIR)/site-packages
diff --git a/dcoppython/shell/gen_marshal_code.py b/dcoppython/shell/gen_marshal_code.py
index 73cb1fd0..c24c8760 100644
--- a/dcoppython/shell/gen_marshal_code.py
+++ b/dcoppython/shell/gen_marshal_code.py
@@ -119,21 +119,21 @@ class DocType:
def __init__(self, type):
self.type = type
- self.demarshal_as = None
- self.as = []
+ self.demarshal_asme = None
+ self.asme = []
self.info = []
- def add_as(self, as):
- if self.demarshal_as == None: self.demarshal_as = as
- self.as += [as]
+ def add_asme(self, asme):
+ if self.demarshal_asme == None: self.demarshal_asme = asme
+ self.asme += [asme]
def add_info(self,info):
self.info += [info]
def xml(self):
return ['<type dcoptype="%s">' % self.type,
- ' <demarshal-as>%s</demarshal-as>' % self.demarshal_as] + \
- [' <marshal-as>%s</marshal-as>' % as for as in self.as ] + \
+ ' <demarshal-asme>%s</demarshal-asme>' % self.demarshal_asme] + \
+ [' <marshal-asme>%s</marshal-asme>' % asme for asme in self.asme ] + \
[' <info>%s</info>' % info for info in self.info ] + \
['</type>']
@@ -186,7 +186,7 @@ for l in in_file.readlines():
if m:
doc_cmd, rest = m.groups()
if doc_cmd=="as":
- doc_types[current_type].add_as(rest)
+ doc_types[current_type].add_asme(rest)
if doc_cmd=="info":
doc_types[current_type].add_info(rest)
continue