[fix] extra whitespace on line-ends
bzr revid: xmo@tinyerp.com-20100112153921-hfy76xko1bwdx4fd
This commit is contained in:
parent
fad2b1bb64
commit
e7896ddd46
|
@ -194,7 +194,7 @@ class osv_memory(osv_base, orm.orm_memory):
|
|||
# Goal: try to apply inheritancy at the instanciation level and
|
||||
# put objects in the pool var
|
||||
#
|
||||
def createInstance(cls, pool, module, cr):
|
||||
def createInstance(cls, pool, module, cr):
|
||||
parent_names = getattr(cls, '_inherit', None)
|
||||
if parent_names:
|
||||
if isinstance(parent_names, (str, unicode)):
|
||||
|
@ -229,7 +229,7 @@ class osv(osv_base, orm.orm):
|
|||
# put objects in the pool var
|
||||
#
|
||||
def createInstance(cls, pool, module, cr):
|
||||
parent_names = getattr(cls, '_inherit', None)
|
||||
parent_names = getattr(cls, '_inherit', None)
|
||||
if parent_names:
|
||||
if isinstance(parent_names, (str, unicode)):
|
||||
name = cls._name or parent_names
|
||||
|
|
Loading…
Reference in New Issue