summaryrefslogtreecommitdiffstats
path: root/host/lib/transport
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-04-29 16:08:10 -0700
committerJosh Blum <josh@joshknows.com>2010-04-29 16:08:10 -0700
commit15b0f5feef3e30f762ded1d27235bd167e3e5c28 (patch)
treea988d4098f38609f9eb4f50d89a26faa20381993 /host/lib/transport
parent04dae4bf6b11b5aad383f95be6a77863a7c2f6ec (diff)
downloaduhd-15b0f5feef3e30f762ded1d27235bd167e3e5c28.tar.gz
uhd-15b0f5feef3e30f762ded1d27235bd167e3e5c28.tar.bz2
uhd-15b0f5feef3e30f762ded1d27235bd167e3e5c28.zip
added reg map for ad9862
Diffstat (limited to 'host/lib/transport')
-rwxr-xr-xhost/lib/transport/gen_vrt.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/host/lib/transport/gen_vrt.py b/host/lib/transport/gen_vrt.py
index 38a394dee..9a57c83c3 100755
--- a/host/lib/transport/gen_vrt.py
+++ b/host/lib/transport/gen_vrt.py
@@ -200,15 +200,11 @@ void vrt::unpack(
}
"""
-import os
import sys
from Cheetah.Template import Template
def parse_tmpl(_tmpl_text, **kwargs):
return str(Template(_tmpl_text, kwargs))
-def safe_makedirs(path):
- not os.path.isdir(path) and os.makedirs(path)
if __name__ == '__main__':
- safe_makedirs(os.path.dirname(sys.argv[1]))
open(sys.argv[1], 'w').write(parse_tmpl(TMPL_TEXT, file=__file__))