Permalink
Browse files

Added DEPENDENCIES file pointing out the need for the abouttag library

if importing delicous bookmarks to FluidDB.

Also print a message to that effect if the import fails.
  • Loading branch information...
1 parent 277d76b commit 3ae93c8a4442f1afef9b079d4b3269c088b546a9 @njr0 committed Dec 17, 2010
Showing with 14 additions and 1 deletion.
  1. +7 −0 DEPENDENCIES
  2. +7 −1 delicious2fluiddb.py
View
@@ -0,0 +1,7 @@
+To use delicious2fluiddb.py you need to have the abouttag library on
+your PYTHONPATH.
+
+abouttag is available from
+
+https://github.com/njr0/abouttag
+
View
@@ -10,7 +10,13 @@
import fdb
#import fdbdummy as fdb
from delicious import *
-from abouttag.uri import URI
+try:
+ from abouttag.uri import URI
+except ImportError:
+ print 'You need the abouttag library on your PYTHONPATH.'
+ print 'It is available from https://github.com/njr0/abouttag'
+ raise
+
class Entry:
def __init__ (self, url, description, tags, shared, extended):

0 comments on commit 3ae93c8

Please sign in to comment.