aboutsummaryrefslogtreecommitdiffstats
path: root/libbe
diff options
context:
space:
mode:
authorW. Trevor King <wking@drexel.edu>2009-12-08 20:02:34 -0500
committerW. Trevor King <wking@drexel.edu>2009-12-08 20:02:34 -0500
commit3e6096fb5bcb9c9e8a50faa76461da96d145ca8f (patch)
tree13de7a73b991a1658b41fc84fc50278ac0837270 /libbe
parent79154201c1c012063aa3fe1881ff06a3f239fdc5 (diff)
downloadbugseverywhere-3e6096fb5bcb9c9e8a50faa76461da96d145ca8f.tar.gz
Reworked test.py to handle deeper directory structure
Diffstat (limited to 'libbe')
-rw-r--r--libbe/bug.py2
-rw-r--r--libbe/bugdir.py2
-rw-r--r--libbe/comment.py2
-rw-r--r--libbe/util/plugin.py (renamed from libbe/plugin.py)2
4 files changed, 4 insertions, 4 deletions
diff --git a/libbe/bug.py b/libbe/bug.py
index 84eb1ed..5755b63 100644
--- a/libbe/bug.py
+++ b/libbe/bug.py
@@ -34,7 +34,7 @@ import xml.sax.saxutils
import libbe
import libbe.util.id
-from libbe.storage.util.properties import Property, doc_property,
+from libbe.storage.util.properties import Property, doc_property, \
local_property, defaulting_property, checked_property, cached_property, \
primed_property, change_hook_property, settings_property
import libbe.storage.settings_object as settings_object
diff --git a/libbe/bugdir.py b/libbe/bugdir.py
index 4435624..02ff96f 100644
--- a/libbe/bugdir.py
+++ b/libbe/bugdir.py
@@ -32,7 +32,7 @@ import time
import libbe
import libbe.util.encoding as encoding
import libbe.storage as storage
-from libbe.storage.util.properties import Property, doc_property,
+from libbe.storage.util.properties import Property, doc_property, \
local_property, defaulting_property, checked_property, \
fn_checked_property, cached_property, primed_property, \
change_hook_property, settings_property
diff --git a/libbe/comment.py b/libbe/comment.py
index 987e39c..f5a6309 100644
--- a/libbe/comment.py
+++ b/libbe/comment.py
@@ -34,7 +34,7 @@ import xml.sax.saxutils
import libbe
import libbe.util.id
-from libbe.storage.util.properties import Property, doc_property,
+from libbe.storage.util.properties import Property, doc_property, \
local_property, defaulting_property, checked_property, cached_property, \
primed_property, change_hook_property, settings_property
import libbe.storage.settings_object as settings_object
diff --git a/libbe/plugin.py b/libbe/util/plugin.py
index 03f68fc..edb4922 100644
--- a/libbe/plugin.py
+++ b/libbe/util/plugin.py
@@ -30,7 +30,7 @@ import libbe
if libbe.TESTING == True:
import doctest
-def my_import(mod_name):
+def import_by_name(mod_name):
module = __import__(mod_name)
components = mod_name.split('.')
for comp in components[1:]: