Files
Phoenix/docs/sphinx/rest_substitutions/snippets/python/converted/ConfigBase.4.py
2012-04-10 03:16:37 +00:00

12 lines
291 B
Python

def bar(config):
config.Write("Test", 17)
foo(config)
# we're reading "/Foo/Data/Test" here! -1 will probably be returned...
if config.ReadInt("Test", -1) != 17:
raise Exception('Invalid Test')