]> git.phdru.name Git - bookmarks_db.git/blobdiff - Robots/bkmk_rsimple.py
Preparing version 4.4.0.
[bookmarks_db.git] / Robots / bkmk_rsimple.py
index c2733a184ce5f6352e3b201e751b65404bf32b49..8bfa4298299f0c3b9842cdc0fa071b361ed8cd48 100644 (file)
@@ -1,9 +1,15 @@
-"""
-   Simple, strightforward robot
+"""Simple, strightforward robot
 
-   Written by Oleg Broytman. Copyright (C) 2000-2010 PhiloSoft Design.
+This file is a part of Bookmarks database and Internet robot.
 """
 
+__version__ = "$Revision$"[11:-2]
+__revision__ = "$Id$"[5:-2]
+__date__ = "$Date$"[7:-2]
+__author__ = "Oleg Broytman <phd@phdru.name>"
+__copyright__ = "Copyright (C) 2000-2011 PhiloSoft Design"
+__license__ = "GNU GPL"
+
 import sys, os
 import time, urllib
 from base64 import b64encode
@@ -220,7 +226,7 @@ class robot_simple(Robot):
                            self.log("   got icon       : %s" % content_type)
                            if content_type.startswith("application/") \
                                  or content_type.startswith("text/plain"):
-                              self.log("   got non-image icon, assume x-icon")
+                              self.log("       non-image content type, assume x-icon")
                               content_type = 'image/x-icon'
                            bookmark.icon = "data:%s;base64,%s" % (content_type, b64encode(icon_data))
                            icons[icon] = (content_type, bookmark.icon)