diff --git a/osc/core.py b/osc/core.py index e38927c0..ed616627 100644 --- a/osc/core.py +++ b/osc/core.py @@ -2677,7 +2677,7 @@ def store_readlist(dir, name): r = [] if os.path.exists(os.path.join(dir, store, name)): - r = [line.strip() for line in open(os.path.join(dir, store, name), 'r')] + r = [line.rstrip('\n') for line in open(os.path.join(dir, store, name), 'r')] return r def read_tobeadded(dir):