aboutsummaryrefslogtreecommitdiffstats
path: root/helpers/util.py
diff options
context:
space:
mode:
authorficus <ficus@robocracy.org>2012-09-15 19:46:49 +0200
committerficus <ficus@robocracy.org>2012-09-15 19:46:49 +0200
commit42725426ec02d359b67cd8d665afe17882d38958 (patch)
tree148c4082998f7d0b82ec4f22515d7626fca6a0e7 /helpers/util.py
parenta304d7a56563b16ca98d9b45ebed521c52f6347c (diff)
downloadtui-42725426ec02d359b67cd8d665afe17882d38958.tar.gz
tui-42725426ec02d359b67cd8d665afe17882d38958.zip
more WIP
Diffstat (limited to 'helpers/util.py')
-rw-r--r--helpers/util.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/helpers/util.py b/helpers/util.py
index 46030bf..229d975 100644
--- a/helpers/util.py
+++ b/helpers/util.py
@@ -11,7 +11,7 @@ def cli_read_lines(cmd):
def fs_read(path):
with open(path, 'r') as f:
- return '\n'.join(f.readlines()).strip()
+ return ''.join(f.readlines())
def prefix_to_ipv4_mask(prefixlen):
assert(prefixlen >= 0)