Skip to content
Snippets Groups Projects
Commit 9752f2f2 authored by Marco Clemencic's avatar Marco Clemencic
Browse files

Merge branch 'fix-DataObjectHandleBase' into 'master'

Do not modify DataObjectHandleBase python binding on add

See merge request !342
parents 42dba200 c4cfedc2
Branches
Tags
1 merge request!342Do not modify DataObjectHandleBase python binding on add
Pipeline #
...@@ -41,12 +41,12 @@ class DataObjectHandleBase(object): ...@@ -41,12 +41,12 @@ class DataObjectHandleBase(object):
return self.__str__() return self.__str__()
def __add__(self,other): def __add__(self,other):
self.Path = ':'.join( i + other for i in self.Path.split(':')) path = ':'.join( i + other for i in self.Path.split(':'))
return self return DataObjectHandleBase(path)
def __radd__(self,other): def __radd__(self,other):
self.Path = ':'.join( other + i for i in self.Path.split(':')) path = ':'.join( other + i for i in self.Path.split(':'))
return self return DataObjectHandleBase(path)
def __iadd__(self,other): def __iadd__(self,other):
self.Path = ':'.join( i + other for i in self.Path.split(':')) self.Path = ':'.join( i + other for i in self.Path.split(':'))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment