aboutsummaryrefslogtreecommitdiff
path: root/win/config_ti.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/config_ti.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/config_ti.py36
1 files changed, 18 insertions, 18 deletions
diff --git a/win/config_ti.py b/win/config_ti.py
index 4facaff..b495bb1 100644
--- a/win/config_ti.py
+++ b/win/config_ti.py
@@ -1,18 +1,18 @@
-import os, shutil
-from wb import preprocess, home_fn, autogen
-
-def main(config):
- src = os.path.join(home_fn(config['TISRC']), config['DDKVER_MAJOR'])
- dest = home_fn('tapinstall')
- shutil.rmtree(dest, ignore_errors=True)
- shutil.copytree(src, dest)
- preprocess(config,
- in_fn=os.path.join(dest, 'sources.in'),
- out_fn=os.path.join(dest, 'sources'),
- if_prefix='!',
- head_comment='# %s\n\n' % autogen)
-
-# if we are run directly, and not loaded as a module
-if __name__ == "__main__":
- from wb import config
- main(config)
+import os, shutil
+from wb import preprocess, home_fn, autogen
+
+def main(config):
+ src = os.path.join(home_fn(config['TISRC']), config['DDKVER_MAJOR'])
+ dest = home_fn('tapinstall')
+ shutil.rmtree(dest, ignore_errors=True)
+ shutil.copytree(src, dest)
+ preprocess(config,
+ in_fn=os.path.join(dest, 'sources.in'),
+ out_fn=os.path.join(dest, 'sources'),
+ if_prefix='!',
+ head_comment='# %s\n\n' % autogen)
+
+# if we are run directly, and not loaded as a module
+if __name__ == "__main__":
+ from wb import config
+ main(config)