[kupfer/maint: 339/341] py26: Fix to use absolute imports in chromium plugin
- From: Ulrik Sverdrup <usverdrup src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [kupfer/maint: 339/341] py26: Fix to use absolute imports in chromium plugin
- Date: Thu, 4 Feb 2010 21:12:13 +0000 (UTC)
commit f6ea373fb3ef186c39b5daf15c6a9c9cbfb86cf0
Author: Ulrik Sverdrup <ulrik sverdrup gmail com>
Date: Tue Feb 2 21:56:36 2010 +0100
py26: Fix to use absolute imports in chromium plugin
kupfer/plugin/chromium.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/kupfer/plugin/chromium.py b/kupfer/plugin/chromium.py
index f159456..6ce24c2 100644
--- a/kupfer/plugin/chromium.py
+++ b/kupfer/plugin/chromium.py
@@ -22,9 +22,9 @@ class BookmarksSource (AppLeafContentMixin, Source):
def _get_chromium_items(self, fpath):
"""Parse Chromium' bookmarks backups"""
- from chromium_support import get_bookmarks
+ from kupfer.plugin import chromium_support
self.output_debug("Parsing", fpath)
- bookmarks = get_bookmarks(fpath)
+ bookmarks = chromium_support.get_bookmarks(fpath)
for book in bookmarks:
yield UrlLeaf(book["url"], book["name"])
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]