[bbgun commit] r13 - in trunk: bbgun scripts

0 views
Skip to first unread message

codesite...@google.com

unread,
Jun 24, 2007, 8:44:28 PM6/24/07
to bbgu...@googlegroups.com
Author: pengi.films
Date: Sun Jun 24 17:44:25 2007
New Revision: 13

Modified:
trunk/bbgun/BBDatabase.py
trunk/scripts/bbgun

Log:
Refactor import commands to work with proper installation

Modified: trunk/bbgun/BBDatabase.py
==============================================================================
--- trunk/bbgun/BBDatabase.py (original)
+++ trunk/bbgun/BBDatabase.py Sun Jun 24 17:44:25 2007
@@ -28,9 +28,9 @@
from UserDict import UserDict

try:
- import BBCode
+ from bbgun import BBCode
except ImportError:
- print "Cannot find module BBCode! Please install it and try again."
+ print "Cannot find bbgun module BBCode! Please install it and try again."
sys.exit(1)

class phpbb2wpError(Exception): pass

Modified: trunk/scripts/bbgun
==============================================================================
--- trunk/scripts/bbgun (original)
+++ trunk/scripts/bbgun Sun Jun 24 17:44:25 2007
@@ -29,9 +29,9 @@
from optparse import OptionParser

try:
- import BBDatabase
+ from bbgun import BBDatabase
except ImportError:
- print "Cannot find module BBDatabase! Please install it and try again."
+ print "Cannot find bbgun module BBDatabase! Please install it and try again."
sys.exit(1)

class bbgunError(Exception): pass

Reply all
Reply to author
Forward
0 new messages