Skip to content

Commit

Permalink
Simplification
Browse files Browse the repository at this point in the history
  • Loading branch information
scottslewis committed May 31, 2018
1 parent c29cc66 commit 6832661
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
3 changes: 2 additions & 1 deletion pelix/rsa/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,7 @@ def copy_non_ecf(props,target):
target[key] = value
return target

# Exception classes
class SelectExporterError(Exception):
def __init__(self,*args,**kwargs):
Exception.__init__(self,*args,**kwargs)
Expand All @@ -346,8 +347,8 @@ def __init__(self,*args,**kwargs):
class RemoteServiceError(Exception):
def __init__(self,*args,**kwargs):
Exception.__init__(self,*args,**kwargs)


## RSA API classes
class RemoteServiceAdminEvent(object):
'''
Remote service admin event instances are delivered to RemoteServiceAdminListener
Expand Down
4 changes: 0 additions & 4 deletions pelix/rsa/edef.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,6 @@ def _write(self, out_file, encoding="us-ascii", xml_declaration=True,
XML_VALUE = object()

# ------------------------------------------------------------------------------


class EDEFReader(object):
"""
Reads an EDEF XML data. Inspired from EndpoitnDescriptionParser from ECF
Expand Down Expand Up @@ -291,8 +289,6 @@ def parse(self, xml_str):
for node in root.findall(TAG_ENDPOINT_DESCRIPTION)]

# ------------------------------------------------------------------------------


class EDEFWriter(object):

def __init__(self,encoding='unicode',xml_declaration=True):
Expand Down

0 comments on commit 6832661

Please sign in to comment.