[pypy-svn] r40181 - pypy/dist/pypy/config

xoraxax at codespeak.net xoraxax at codespeak.net
Sat Mar 10 20:18:50 CET 2007


Author: xoraxax
Date: Sat Mar 10 20:18:49 2007
New Revision: 40181

Modified:
   pypy/dist/pypy/config/config.py
Log:
Fix exception message in pypy.config.config

Modified: pypy/dist/pypy/config/config.py
==============================================================================
--- pypy/dist/pypy/config/config.py	(original)
+++ pypy/dist/pypy/config/config.py	Sat Mar 10 20:18:49 2007
@@ -83,7 +83,7 @@
         if oldvalue != value and oldowner not in ("default", "suggested"):
             if who in ("default", "suggested"):
                 return
-            raise ValueError('cannot override value %s for option %s' %
+            raise ValueError('cannot override value to %s for option %s' %
                                 (value, name))
         child.setoption(self, value, who)
         self._cfgimpl_value_owners[name] = who



More information about the Pypy-commit mailing list