PageRenderTime 112ms CodeModel.GetById 40ms app.highlight 2ms RepoModel.GetById 69ms app.codeStats 0ms

/silverlining/commands/update-check-config.py

https://bitbucket.org/ianb/silverlining/
Python | 12 lines | 10 code | 2 blank | 0 comment | 1 complexity | 2c0fcf19119a752e6f16c57a99dd1461 MD5 | raw file
 1import sys
 2import os
 3from silversupport.appconfig import AppConfig
 4
 5def main():
 6    app_dir, config = sys.argv[1:]
 7    app = AppConfig(os.path.join(app_dir, 'app.ini'))
 8    app.activate_path()
 9    app.check_config(config)
10
11if __name__ == '__main__':
12    main()