diff options
author | Samuli Seppänen <samuli@openvpn.net> | 2011-04-14 17:18:47 +0300 |
---|---|---|
committer | David Sommerseth <davids@redhat.com> | 2011-04-14 16:38:45 +0200 |
commit | f05b6d3302b3f204ebccb606ab52244316f08d09 (patch) | |
tree | 4203a7a14434cbcceb5de60286e4c5d7b7d8b4c9 /win/sign.py | |
parent | Add man page entry for --redirect-private (diff) | |
download | openvpn-f05b6d3302b3f204ebccb606ab52244316f08d09.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>
(cherry picked from commit 6b2883a637fe73492f09816ee95b00c1b88d5fcb)
Diffstat (limited to '')
-rw-r--r-- | win/sign.py | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/win/sign.py b/win/sign.py index ee4ae72..67d1cbc 100644 --- a/win/sign.py +++ b/win/sign.py @@ -1,19 +1,19 @@ -import sys
-from wb import config, choose_arch, home_fn
-
-if 'SIGNTOOL' in config:
- sys.path.append(home_fn(config['SIGNTOOL']))
-
-def main(conf, arch):
- from signtool import SignTool
- st = SignTool(conf)
- for x64 in choose_arch(arch):
- st.sign_verify(x64=x64)
-
-# if we are run directly, and not loaded as a module
-if __name__ == "__main__":
- if len(sys.argv) >= 2:
- main(config, sys.argv[1])
- else:
- print "usage: sign <x64|x86|all>"
- sys.exit(2)
+import sys +from wb import config, choose_arch, home_fn + +if 'SIGNTOOL' in config: + sys.path.append(home_fn(config['SIGNTOOL'])) + +def main(conf, arch): + from signtool import SignTool + st = SignTool(conf) + for x64 in choose_arch(arch): + st.sign_verify(x64=x64) + +# if we are run directly, and not loaded as a module +if __name__ == "__main__": + if len(sys.argv) >= 2: + main(config, sys.argv[1]) + else: + print "usage: sign <x64|x86|all>" + sys.exit(2) |