default to None, not empty list

Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
This commit is contained in:
Steven Armstrong 2013-12-21 21:59:47 +01:00
parent 29ae02565c
commit 08762330e1

View file

@ -49,7 +49,6 @@ class DefaultList(list):
def create(cls, initial=None):
if initial:
return cls(initial.split('\n'))
return cls()
class Emulator(object):