Beispiel #1
0
	def parseAcountFiles(self):
		Group.init()
		groups = []
		for fileName in os.listdir(self.ACOUNTS_DIR):
			group = Group(fileName)
			for line in open(os.path.join(self.ACOUNTS_DIR, fileName), 'r'):
				acount = Acount(line)
				group.addAcount(acount)

			groups.append(group)

		return groups