From: rishucoding Date: Tue, 12 Jun 2018 09:27:17 +0000 (+0530) Subject: replace split from whitespace to tabspace X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=54b5fd8a33a43d35b7d3c2417003606e17b54e68;p=pinmux.git replace split from whitespace to tabspace --- diff --git a/src/parse.py b/src/parse.py index 02c9ea9..61bc8e1 100644 --- a/src/parse.py +++ b/src/parse.py @@ -45,7 +45,7 @@ class Parse(object): fname = os.path.join(pth, fname) with open(fname) as pinmapfile: for lineno, line in enumerate(pinmapfile): - line1 = line.split() + line1 = line.split('\t') if len(line1) <= 1: continue self.pinnumbers.append(int(line1[0]))