示例#1
0
 def __str__(self):
     conf = Conf()
     str = "访问%s失败,请检查网络连接" % conf.getDefault('TestIP')
     return str
示例#2
0
 def __init__(self):
      conf = Conf()
      self.DB = conf.getDefault('DBData')
示例#3
0
 def __str__(self):
     conf = Conf()
     str = "使用DB_CONNECT_STRING:%s--连接数据库失败" % conf.getDefault('DBData')
     return str