diff options
author | Josh Blum <josh@joshknows.com> | 2010-04-30 11:11:09 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-04-30 11:11:09 -0700 |
commit | 29ea5f89b6f52dd5ad7fb0173ef5699f9c5f4ebf (patch) | |
tree | 557ea5a852716707ecfae03d2083dd7de3f954ce /host/lib/transport | |
parent | e837c65eb2b49f8fc2516f4eba45eafaa9b7b76b (diff) | |
parent | 333937760305f9c7c8dfb1db95f4821a800ce043 (diff) | |
download | uhd-29ea5f89b6f52dd5ad7fb0173ef5699f9c5f4ebf.tar.gz uhd-29ea5f89b6f52dd5ad7fb0173ef5699f9c5f4ebf.tar.bz2 uhd-29ea5f89b6f52dd5ad7fb0173ef5699f9c5f4ebf.zip |
Merge branch 'reg_maps'
Diffstat (limited to 'host/lib/transport')
-rwxr-xr-x | host/lib/transport/gen_vrt.py | 4 |
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__)) |