devtools/__init__.py
changeset 6751 02091c91520f
parent 6750 ef513c03a224
child 6843 b70a26ca271c
--- a/devtools/__init__.py	Thu Dec 09 15:27:02 2010 +0100
+++ b/devtools/__init__.py	Sat Dec 18 23:12:14 2010 +0100
@@ -24,7 +24,7 @@
 import logging
 from datetime import timedelta
 from os.path import (abspath, join, exists, basename, dirname, normpath, split,
-                     isfile, isabs)
+                     isfile, isabs, splitext)
 
 from logilab.common.date import strptime
 from cubicweb import CW_SOFTWARE_ROOT, ConfigurationError, schema, cwconfig
@@ -181,7 +181,7 @@
     cube_appobject_path = TestServerConfiguration.cube_appobject_path | TwistedConfiguration.cube_appobject_path
 
     def available_languages(self, *args):
-        return ('en', 'fr', 'de')
+        return self.cw_languages()
 
     def pyro_enabled(self):
         # but export PYRO_MULTITHREAD=0 or you get problems with sqlite and