diff options
author | Josh Blum <josh@joshknows.com> | 2010-04-19 23:48:00 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-04-19 23:48:00 -0700 |
commit | 6b015b1c517733e85cb0c08a379e8d20377bf2fa (patch) | |
tree | 4c94d069b809bf7ad1f8aaf95542b7cbbdc6e4dc /host/lib/ic_reg_maps/common.py | |
parent | 97b288f7d3ee0fc0fd596f6ba454cf07304474e0 (diff) | |
download | uhd-6b015b1c517733e85cb0c08a379e8d20377bf2fa.tar.gz uhd-6b015b1c517733e85cb0c08a379e8d20377bf2fa.tar.bz2 uhd-6b015b1c517733e85cb0c08a379e8d20377bf2fa.zip |
added comments to cmakelists, makedir in file generation script so python doesnt have to
Diffstat (limited to 'host/lib/ic_reg_maps/common.py')
-rw-r--r-- | host/lib/ic_reg_maps/common.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/host/lib/ic_reg_maps/common.py b/host/lib/ic_reg_maps/common.py index b7fa27bbe..bf51073ae 100644 --- a/host/lib/ic_reg_maps/common.py +++ b/host/lib/ic_reg_maps/common.py @@ -19,16 +19,12 @@ # Boston, MA 02110-1301, USA. import re -import os import math 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) - class reg: def __init__(self, reg_des): x = re.match('^(\w*)\s*(\w*)\[(.*)\]\s*(\w*)\s*(.*)$', reg_des) |