From 08762330e177729372349b3fdde67e81a9fd3377 Mon Sep 17 00:00:00 2001 From: Steven Armstrong Date: Sat, 21 Dec 2013 21:59:47 +0100 Subject: [PATCH] default to None, not empty list Signed-off-by: Steven Armstrong --- cdist/emulator.py | 1 - 1 file changed, 1 deletion(-) diff --git a/cdist/emulator.py b/cdist/emulator.py index c9ce663a..b70ef956 100644 --- a/cdist/emulator.py +++ b/cdist/emulator.py @@ -49,7 +49,6 @@ class DefaultList(list): def create(cls, initial=None): if initial: return cls(initial.split('\n')) - return cls() class Emulator(object):