def groups_option(f):
    new_func = click.option("-g", "--groups",
                            help="Comma-separated list of requirement groups "
                            "to include.")(f)
    return update_wrapper(new_func, f)
def get_level(self, level, queue):
		if queue == None:
			queue = []
		if level == 1:
			queue.push(self)
		else:
			if self.lchild != None:
				self.lchild.get_level(level-1, queue)
			if self.rchild != None:
				self.rchild.get_level(level-1, queue)
		return queue