Module Import alias Import alias Import alias Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If Call AttributeLoad AttributeLoad NameLoad attr attr Str body Assign NameStore Str orelse Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str TryExcept body Import alias handlers ExceptHandler type NameLoad body Import alias identifier TryExcept body Assign NameStore Call AttributeLoad Call NameLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler body Assign NameStore Dict Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr BinOpAdd AttributeLoad Call AttributeLoad NameLoad attr attr AttributeLoad Call AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str With Call NameLoad NameLoad Str NameStore body Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Num Expr Call AttributeLoad NameLoad attr NameLoad
N/A N/A os.path N/A uuid N/A base64 N/A ROOT N/A N/A N/A os path abspath N/A N/A N/A os path dirname __file__ N/A N/A N/A N/A os path exists /etc/amonone.conf N/A N/A config_path /etc/amonone.conf N/A N/A config_path N/A N/A N/A os path join ROOT amonone.conf N/A N/A N/A json N/A N/A N/A ImportError N/A N/A simplejson json N/A N/A N/A config_file N/A N/A N/A file config_path read N/A config N/A N/A json loads config_file N/A N/A N/A N/A config N/A N/A N/A config N/A secret_key N/A N/A base64 b64encode N/A N/A N/A N/A uuid uuid4 bytes N/A N/A N/A uuid uuid4 bytes N/A generated_config_path N/A N/A N/A os path join ROOT amonone.conf N/A N/A open generated_config_path w+ f N/A N/A config_contents N/A N/A json dumps config indent 4 N/A N/A N/A f write config_contents