~ubuntu-branches/ubuntu/oneiric/openvpn/oneiric

« back to all changes in this revision

Viewing changes to win/show.py

  • Committer: Bazaar Package Importer
  • Author(s): Chuck Short
  • Date: 2011-06-16 18:33:37 UTC
  • mfrom: (1.1.17 upstream) (10.2.13 sid)
  • Revision ID: james.westby@ubuntu.com-20110616183337-fv50u3kmiabewjq0
Tags: 2.2.0-2ubuntu1
* Merge from debian unstable.  Remaining changes:
 + debian/openvpn.init.d:
    - Do not use start-stop-daemon and </dev/null to avoid blocking boot.
    - Show per-VPN result messages.
    - Add "--script-security 2" by default for backwards compatabliity.
  + debian/control: Add lsb-base >= 3.2-14 to allow status_of_proc()
  + debian/update-resolv-conf: Support multiple domains.
  + fix bug where '--script-security 2' would be passed for all
    daemons after the first. (LP: #794916

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
from wb import get_config
2
 
from js import JSON
3
 
 
4
 
def main():
5
 
    kv = get_config()
6
 
    print JSON().encode(kv)
7
 
 
8
 
# if we are run directly, and not loaded as a module
9
 
if __name__ == "__main__":
10
 
    main()
 
1
from wb import get_config
 
2
from js import JSON
 
3
 
 
4
def main():
 
5
    print JSON().encode(get_config())
 
6
 
 
7
# if we are run directly, and not loaded as a module
 
8
if __name__ == "__main__":
 
9
    main()