'Unset a global variable'

def do_unsetg(self, input):

    (argc, argv) = util.parseinput(input, 2)
    if (argc == 0):
        args = {'title': 'Global    Variables', 'vars': self.fbglobalvars.items()}
        self.io.print_set_names(args)
    else:
        try:
            del self.fbglobalvars[argv[0]]
        except KeyError:
            raise exception.CmdErr, 'Invalid    input'
        self.io.print_success(('Unset    %s' % argv[0]))
