commit | cde8eaa79062b5e8664d84bd93fb20b1a9113303 | [log] [tgz] |
---|---|---|
author | Scott Baker <smbaker@gmail.com> | Sun Sep 01 15:14:34 2013 -0700 |
committer | Scott Baker <smbaker@gmail.com> | Sun Sep 01 15:14:34 2013 -0700 |
tree | e290f627d10f65e4472ff73246b37dabd050a117 | |
parent | 6ebb5d75c158d103b8cf385280709d5c19e572bc [diff] |
only call GetConfiguration if running script as main
diff --git a/planetstack/tests/GetConfiguration.py b/planetstack/tests/GetConfiguration.py index 5aa0887..872cd14 100644 --- a/planetstack/tests/GetConfiguration.py +++ b/planetstack/tests/GetConfiguration.py
@@ -169,7 +169,8 @@ 'sites': sites, 'nodes': nodes} -print GetConfiguration({"name": "smbaker-coblitz"}) +if __name__ == '__main__': + print GetConfiguration({"name": "smbaker-coblitz"})