devtools/__init__.py
changeset 6427 c8a5ac2d1eaa
parent 6425 8d7c2fd2ac66
child 6442 ac7126d2cd73
--- a/devtools/__init__.py	Sat Oct 09 00:05:50 2010 +0200
+++ b/devtools/__init__.py	Sat Oct 09 00:05:52 2010 +0200
@@ -158,6 +158,8 @@
         sources = super(TestServerConfiguration, self).sources()
         if not sources:
             sources = DEFAULT_SOURCES
+        if 'admin' not in sources:
+            sources['admin'] = DEFAULT_SOURCES['admin']
         return sources