TweetyPy

Check-in [63e03152ee]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:replaced deprecated yaml.load() with yaml.safe_load()
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 63e03152ee583853c30539e28db0dc706d6c749541d6b2d152ddabfecfb31d53
User & Date: jmcclure 2019-09-07 19:19:48
Context
2019-09-08
00:12
Windows install simplification check-in: 7487060220 user: jmcclure tags: trunk
2019-09-07
19:19
replaced deprecated yaml.load() with yaml.safe_load() check-in: 63e03152ee user: jmcclure tags: trunk
19:19
updated urls in info.html repo->code check-in: 7cc7d5b1cb user: jmcclure tags: trunk
Changes

Changes to tweetypy/config.py.

70
71
72
73
74
75
76
77
78
79
80
81
82

	for fname in files:
		global _queue
		if (os.path.isfile(fname)):
			with open(fname, 'r') as fin:
				_queue += [f' INFO: read config from {fname}']
				conf += fin.read()
	return yaml.load(conf)

def flush_queue():
	for line in _queue:
		print(line)








|





70
71
72
73
74
75
76
77
78
79
80
81
82

	for fname in files:
		global _queue
		if (os.path.isfile(fname)):
			with open(fname, 'r') as fin:
				_queue += [f' INFO: read config from {fname}']
				conf += fin.read()
	return yaml.safe_load(conf)

def flush_queue():
	for line in _queue:
		print(line)