'Overlay parsed command-line arguments, generated by a library
like argparse or optparse, onto this view\'s value. ``namespace``
can be a ``dict`` or namespace object.'

def set_args(self, namespace):

    args = {}
    if isinstance(namespace, dict):
        items = namespace.items()
    else:
        items = namespace.__dict__.items()
    for (key, value) in items:
        if (value is not None):
            args[key] = value
    self.set(args)
