]> mj.ucw.cz Git - eval.git/blobdiff - t/moe/confparser.py
Add unicode and file parsing test
[eval.git] / t / moe / confparser.py
index ebc453d52a16e6e430fd8c98ba182334edab20a8..31783403a3a78c640a5b413a62b321e25b5cd287 100644 (file)
@@ -85,7 +85,7 @@ class ConfigParser(object):
     `fname` is an optional name of the file, for debugging and syntax errors. 
     `level` indicates the precedence the operations should have in the ConfigTree
     """
-    self.s = s         # Unicode, string or an open file
+    self.s = s         # Unicode, ascii string or an open file
     self.buf = u""     # Read-buffer for s file, whole unicode string for s string/unicode
     if isinstance(self.s, types.StringTypes):
       self.buf = unicode(self.s)