Changeset 743

Show
Ignore:
Timestamp:
07/25/08 10:51:04 (4 months ago)
Author:
sylvain
Message:

Fixed attribute set operation when the attribute doesn't exist yet.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • oss/bridge/bridge/__init__.py

    r671 r743  
    288288 
    289289        if not found: 
    290             A(name, value, parent=self) 
     290            Attribute(name, value, parent=self) 
    291291             
    292292    def get_attribute_ns(self, name, namespace): 
     
    312312 
    313313        if not found: 
    314             A(name, value, prefix=prefix, namespace=namespace, parent=self) 
     314            Attribute(name, value, prefix=prefix, namespace=namespace, parent=self) 
    315315             
    316316    def has_element(self, name, ns=None):