From: Tomas Gavenciak Date: Sat, 10 Jul 2010 11:36:38 +0000 (+0200) Subject: Fixed small error (which should manifest anyway) X-Git-Tag: python-dummy-working~39 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=c861bd9c09d20e06533e122253bcd3bb94b0bef9;p=moe.git Fixed small error (which should manifest anyway) --- diff --git a/t/moe/conf.py b/t/moe/conf.py index 427736f..c745961 100644 --- a/t/moe/conf.py +++ b/t/moe/conf.py @@ -347,7 +347,7 @@ class ConfigExpression(object): """ def __init__(self, exprlist, original = u''): - self.exprlist = exprlist + self.exprlist = list(exprlist) # Original defining string self.original = original # Replace strings with unicode diff --git a/t/moe/confparser.py b/t/moe/confparser.py index 0ac7bb2..d024912 100644 --- a/t/moe/confparser.py +++ b/t/moe/confparser.py @@ -333,7 +333,7 @@ class ConfigParser(object): expr2[-1] = expr2[-1] + i else: expr2.append(i) - return conf.ConfigExpression(tuple(expr2), exs) + return conf.ConfigExpression(expr2, exs) def p_FORMULA(self): self.dbg() # Debug