Rev 408: Change the import check so it actually works. in http://bzr.arbash-meinel.com/branches/bzr/loggerhead/history_db

John Arbash Meinel john at arbash-meinel.com
Tue Apr 13 21:26:07 BST 2010


At http://bzr.arbash-meinel.com/branches/bzr/loggerhead/history_db

------------------------------------------------------------
revno: 408
revision-id: john at arbash-meinel.com-20100413202554-6ypop7tjvblfj933
parent: john at arbash-meinel.com-20100413201607-exja9djcdlbt2b0i
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: history_db
timestamp: Tue 2010-04-13 15:25:54 -0500
message:
  Change the import check so it actually works.
-------------- next part --------------
=== modified file '__init__.py'
--- a/__init__.py	2010-03-29 06:45:54 +0000
+++ b/__init__.py	2010-04-13 20:25:54 +0000
@@ -1,4 +1,4 @@
-# Copyright 2009 Canonical Ltd
+# Copyright 2009, 2010 Canonical Ltd
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -65,7 +65,7 @@
         # loggerhead internal code will try to 'import loggerhead', so
         # let's put it on the path if we can't find it in the existing path
         try:
-            import loggerhead
+            import loggerhead.apps.transport
         except ImportError:
             import os.path, sys
             sys.path.append(os.path.dirname(__file__))



More information about the bazaar-commits mailing list