Revision 8b4b9936 ncclient/content/common.py

b/ncclient/content/common.py
12 12
# See the License for the specific language governing permissions and
13 13
# limitations under the License.
14 14

  
15
BASE_NS = 'urn:ietf:params:xml:ns:netconf:base:1.0'
16

  
15 17
def qualify(tag, namespace=None):
16 18
    'Returns qualified name of form `{namespace}tag`'
17 19
    if namespace is None:
18 20
        return tag
19 21
    else:
20 22
        return '{%s}%s' % (namespace, tag)
21

  
22
BASE_NS = 'urn:ietf:params:xml:ns:netconf:base:1.0'

Also available in: Unified diff