]> mj.ucw.cz Git - eval.git/commitdiff
Fixed small error (which should manifest anyway)
authorTomas Gavenciak <gavento@ucw.cz>
Sat, 10 Jul 2010 11:36:38 +0000 (13:36 +0200)
committerTomas Gavenciak <gavento@ucw.cz>
Sat, 10 Jul 2010 11:39:56 +0000 (13:39 +0200)
t/moe/conf.py
t/moe/confparser.py

index 427736faf81fb9501898da450fe43e4d399125fe..c745961896837d58ec216f9e0c760a5c80a2f93e 100644 (file)
@@ -347,7 +347,7 @@ class ConfigExpression(object):
   """
 
   def __init__(self, exprlist, original = u'<unknown>'):
-    self.exprlist = exprlist
+    self.exprlist = list(exprlist)
     # Original defining string 
     self.original = original
     # Replace strings with unicode
index 0ac7bb29b65d34a7045646e1d7cbeb6d12166863..d024912b94d9497aa679a6144603103d301ed460 100644 (file)
@@ -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