aboutsummaryrefslogtreecommitdiff
path: root/win/show.py
diff options
context:
space:
mode:
authorSamuli Seppänen <samuli@openvpn.net>2011-04-14 17:18:47 +0300
committerDavid Sommerseth <davids@redhat.com>2011-04-14 16:38:24 +0200
commit6b2883a637fe73492f09816ee95b00c1b88d5fcb (patch)
tree8d9bc4b80b8c7dd29a1879be0565710611eb4093 /win/show.py
parentAdd man page entry for --redirect-private (diff)
downloadopenvpn-6b2883a637fe73492f09816ee95b00c1b88d5fcb.tar.xz
Change all CRLF linefeeds to LF linefeeds
Signed-off-by: Samuli Seppänen <samuli@openvpn.net> Acked-by: David Sommerseth <davids@redhat.com> Signed-off-by: David Sommerseth <davids@redhat.com>
Diffstat (limited to '')
-rw-r--r--win/show.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/win/show.py b/win/show.py
index cc41715..ac56e98 100644
--- a/win/show.py
+++ b/win/show.py
@@ -1,9 +1,9 @@
from wb import get_config
-from js import JSON
-
-def main():
+from js import JSON
+
+def main():
print JSON().encode(get_config())
-
-# if we are run directly, and not loaded as a module
-if __name__ == "__main__":
- main()
+
+# if we are run directly, and not loaded as a module
+if __name__ == "__main__":
+ main()