def test():
	dbcli = getCliInstance()
	# dbcli.insertDomain('jaysonhwang.com')
	# dbcli.insertRuleset('test','jaysonhwang.com')
	print dbcli.robotsrulesetOfDomain('www.zol.com')
	print dbcli.robotsrulesetOfDomain('jayson.com')
	dbcli.showAll()
	dbcli.close()
def __init__(self, signum, signame):
            self.signum = signum
            self.signame = signame
            self.traceback_lines = traceback.format_stack()
            super(SignalHandler.SignalHandledNonLocalExit, self).__init__()