def __init__(self, addr, uid, upwd):
		#super(FetchFile, self).__init__(addr, uid, upwd)
		# print 'addr:', addr
		try:
			# FetchDataBase.__init__(self, r'//CNST50066074/Root/Business_One/Projects/Dev/SDK/KnowledgeWarehouse/_Ebook/java/m2ebook-pdf.pdf', uid.lower(), upwd)
			FetchDataBase.__init__(self, str(addr), uid.lower(), upwd)
			self._genPath()
		except Exception as e:
			self._responseCode = 430
			print 'init error....'
			raise e
 def __init__(self, addr, uid, upwd):
     #super(FetchFile, self).__init__(addr, uid, upwd)
     # print 'addr:', addr
     try:
         # FetchDataBase.__init__(self, r'//CNST50066074/Root/Business_One/Projects/Dev/SDK/KnowledgeWarehouse/_Ebook/java/m2ebook-pdf.pdf', uid.lower(), upwd)
         FetchDataBase.__init__(self, str(addr), uid.lower(), upwd)
         self._genPath()
     except Exception as e:
         self._responseCode = 430
         print 'init error....'
         raise e
Beispiel #3
0
	def __init__(self, addr, uid, upwd):
		FetchDataBase.__init__(self, addr, uid, upwd)
		self._resourceType = TYPE_DEFAULT
 def __init__(self, addr, uid, upwd):
     FetchDataBase.__init__(self, addr, uid, upwd)
     self._resourceType = TYPE_DEFAULT