From 15b0f5feef3e30f762ded1d27235bd167e3e5c28 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Thu, 29 Apr 2010 16:08:10 -0700 Subject: added reg map for ad9862 --- host/lib/transport/gen_vrt.py | 4 ---- 1 file changed, 4 deletions(-) (limited to 'host/lib/transport/gen_vrt.py') 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__)) -- cgit v1.2.3