openvpn/win/show.py
James Yonan 059739e934 Added Python-based build system for Windows in
win directory.

Fixed minor issue in TAP driver DEBUG builds where
non-null-terminated unicode strings were being
printed incorrectly.

Version 2.1.1g


git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@5577 e7ae566f-a301-0410-adde-c780ea21d3b5
2010-04-22 12:53:31 +00:00

11 lines
211 B
Python

from wb import get_config
from js import JSON
def main():
kv = get_config()
print JSON().encode(kv)
# if we are run directly, and not loaded as a module
if __name__ == "__main__":
main()