From c861bd9c09d20e06533e122253bcd3bb94b0bef9 Mon Sep 17 00:00:00 2001 From: Tomas Gavenciak Date: Sat, 10 Jul 2010 13:36:38 +0200 Subject: [PATCH] Fixed small error (which should manifest anyway) --- t/moe/conf.py | 2 +- t/moe/confparser.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.2