From 263df5274a582e71ff85a6bb1ba14c7836947d9d Mon Sep 17 00:00:00 2001 From: Tim Bentley Date: Fri, 28 Nov 2008 19:24:02 +0000 Subject: [PATCH] renamed files to fit with the naming style bzr-revno: 137 --- .../{BibleCSVImpl.py => bibleCSVImpl.py} | 4 ++-- .../{BibleCommon.py => bibleCommon.py} | 0 .../{BibleDBImpl.py => bibleDBImpl.py} | 4 ++-- .../{BibleHTTPImpl.py => bibleHTTPImpl.py} | 2 +- .../{BibleManager.py => bibleManager.py} | 14 +++++++------- .../{BibleOSISImpl.py => bibleOSISImpl.py} | 2 +- 6 files changed, 13 insertions(+), 13 deletions(-) rename openlp/plugins/biblemanager/{BibleCSVImpl.py => bibleCSVImpl.py} (95%) rename openlp/plugins/biblemanager/{BibleCommon.py => bibleCommon.py} (100%) rename openlp/plugins/biblemanager/{BibleDBImpl.py => bibleDBImpl.py} (98%) rename openlp/plugins/biblemanager/{BibleHTTPImpl.py => bibleHTTPImpl.py} (99%) rename openlp/plugins/biblemanager/{BibleManager.py => bibleManager.py} (96%) rename openlp/plugins/biblemanager/{BibleOSISImpl.py => bibleOSISImpl.py} (98%) diff --git a/openlp/plugins/biblemanager/BibleCSVImpl.py b/openlp/plugins/biblemanager/bibleCSVImpl.py similarity index 95% rename from openlp/plugins/biblemanager/BibleCSVImpl.py rename to openlp/plugins/biblemanager/bibleCSVImpl.py index f1a60b611..d69380793 100644 --- a/openlp/plugins/biblemanager/BibleCSVImpl.py +++ b/openlp/plugins/biblemanager/bibleCSVImpl.py @@ -21,8 +21,8 @@ import urllib2 mypath=os.path.split(os.path.abspath(__file__))[0] sys.path.insert(0,(os.path.join(mypath, '..', '..', '..'))) -from openlp.plugins.biblemanager.BibleDBImpl import BibleDBImpl -from openlp.plugins.biblemanager.BibleCommon import BibleCommon +from openlp.plugins.biblemanager.bibleDBImpl import BibleDBImpl +from openlp.plugins.biblemanager.bibleCommon import BibleCommon import logging logging.basicConfig(level=logging.DEBUG, diff --git a/openlp/plugins/biblemanager/BibleCommon.py b/openlp/plugins/biblemanager/bibleCommon.py similarity index 100% rename from openlp/plugins/biblemanager/BibleCommon.py rename to openlp/plugins/biblemanager/bibleCommon.py diff --git a/openlp/plugins/biblemanager/BibleDBImpl.py b/openlp/plugins/biblemanager/bibleDBImpl.py similarity index 98% rename from openlp/plugins/biblemanager/BibleDBImpl.py rename to openlp/plugins/biblemanager/bibleDBImpl.py index 0ab46d41d..52dcdd9a9 100644 --- a/openlp/plugins/biblemanager/BibleDBImpl.py +++ b/openlp/plugins/biblemanager/bibleDBImpl.py @@ -28,8 +28,8 @@ from sqlalchemy.orm import sessionmaker, mapper mypath=os.path.split(os.path.abspath(__file__))[0] sys.path.insert(0,(os.path.join(mypath, '..', '..', '..'))) -from openlp.plugins.biblemanager.BibleCommon import BibleCommon -from openlp.utils import ConfigHelper +from openlp.plugins.biblemanager.bibleCommon import BibleCommon +from openlp.core.utils import ConfigHelper import logging logging.basicConfig(level=logging.DEBUG, diff --git a/openlp/plugins/biblemanager/BibleHTTPImpl.py b/openlp/plugins/biblemanager/bibleHTTPImpl.py similarity index 99% rename from openlp/plugins/biblemanager/BibleHTTPImpl.py rename to openlp/plugins/biblemanager/bibleHTTPImpl.py index 01186dfb3..c7468942d 100644 --- a/openlp/plugins/biblemanager/BibleHTTPImpl.py +++ b/openlp/plugins/biblemanager/bibleHTTPImpl.py @@ -22,7 +22,7 @@ import urllib2 mypath=os.path.split(os.path.abspath(__file__))[0] sys.path.insert(0,(os.path.join(mypath, '..', '..', '..'))) -from openlp.plugins.biblemanager.BibleCommon import BibleCommon +from openlp.plugins.biblemanager.bibleCommon import BibleCommon import logging logging.basicConfig(level=logging.DEBUG, diff --git a/openlp/plugins/biblemanager/BibleManager.py b/openlp/plugins/biblemanager/bibleManager.py similarity index 96% rename from openlp/plugins/biblemanager/BibleManager.py rename to openlp/plugins/biblemanager/bibleManager.py index 751878ea2..95316c85f 100644 --- a/openlp/plugins/biblemanager/BibleManager.py +++ b/openlp/plugins/biblemanager/bibleManager.py @@ -21,12 +21,12 @@ import sys mypath=os.path.split(os.path.abspath(__file__))[0] sys.path.insert(0,(os.path.join(mypath, '..', '..', '..'))) -from openlp.utils import ConfigHelper -from openlp.plugins.biblemanager.BibleOSISImpl import BibleOSISImpl -from openlp.plugins.biblemanager.BibleCSVImpl import BibleCSVImpl -from openlp.plugins.biblemanager.BibleDBImpl import BibleDBImpl -from openlp.plugins.biblemanager.BibleHTTPImpl import BibleHTTPImpl -from openlp.plugins.biblemanager.BibleLibrary import BibleLibrary +from openlp.core.utils import ConfigHelper +from openlp.plugins.biblemanager.bibleOSISImpl import BibleOSISImpl +from openlp.plugins.biblemanager.bibleCSVImpl import BibleCSVImpl +from openlp.plugins.biblemanager.bibleDBImpl import BibleDBImpl +from openlp.plugins.biblemanager.bibleHTTPImpl import BibleHTTPImpl +#from openlp.plugins.biblemanager.bibleLibrary import BibleLibrary import logging logging.basicConfig(level=logging.DEBUG, @@ -51,7 +51,7 @@ class BibleManager(): self.bibleDBCache = {} # dict of bible database classes self.bibleHTTPCache = {} # dict of bible http readers self.biblePath = ConfigHelper.getBiblePath() - self.bibleLibrary = BibleLibrary() + #self.bibleLibrary = BibleLibrary() #log.debug( self.biblePath ) files = os.listdir(self.biblePath) for f in files: diff --git a/openlp/plugins/biblemanager/BibleOSISImpl.py b/openlp/plugins/biblemanager/bibleOSISImpl.py similarity index 98% rename from openlp/plugins/biblemanager/BibleOSISImpl.py rename to openlp/plugins/biblemanager/bibleOSISImpl.py index e066c2380..c147c111b 100644 --- a/openlp/plugins/biblemanager/BibleOSISImpl.py +++ b/openlp/plugins/biblemanager/bibleOSISImpl.py @@ -21,7 +21,7 @@ import urllib2 mypath=os.path.split(os.path.abspath(__file__))[0] sys.path.insert(0,(os.path.join(mypath, '..', '..', '..'))) -from openlp.plugins.biblemanager.BibleDBImpl import BibleDBImpl +from openlp.plugins.biblemanager.bibleDBImpl import BibleDBImpl import logging logging.basicConfig(level=logging.DEBUG,