예제 #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