def default_capability(self):
        """Set capability name in md.

        Every ResourceSync document should have the top-level
        capability attributes.
        """
        if ('capability' not in self.md and self.capability_name is not None):
            self.md['capability'] = self.capability_name
def default_capability ( self ) : if ( 'capability' not in self . md and self . capability_name is not None ) : self . md [ 'capability' ] = self . capability_name
Set capability name in md.

        Every ResourceSync document should have the top-level
        capability attributes.