]> git.donarmstrong.com Git - dak.git/blobdiff - dakweb/dakwebserver.py
Add initial suites and archives routines
[dak.git] / dakweb / dakwebserver.py
index 9435e8ac263ed7515366317c61b9dcc0ceedc4a2..24c729cc6f7a0d33b489f9fa9b98d5f46f9239b2 100755 (executable)
@@ -32,10 +32,13 @@ def path_help(path=None):
 QueryRegister().register_path('/path_help', list_paths)
 
 # Import our other methods
+from queries.archive import *
 from queries.source import *
+from queries.suite import *
 
 # Set up our initial database connection
 d = DBConn()
 
-# Run the bottle
-bottle.run()
+# Run the bottle if we're called directly
+if __name__ == '__main__':
+    bottle.run()