From 3fb90cb7b4d776dfa44919957f4d02d54f496c28 Mon Sep 17 00:00:00 2001 From: pictuga Date: Wed, 25 Feb 2015 11:43:04 +0800 Subject: [PATCH] 2to3: local import --- morss/__init__.py | 2 +- morss/feedify.py | 4 ++-- morss/morss.py | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/morss/__init__.py b/morss/__init__.py index c82c919..65894ed 100644 --- a/morss/__init__.py +++ b/morss/__init__.py @@ -1 +1 @@ -from morss import * +from .morss import * diff --git a/morss/feedify.py b/morss/feedify.py index 0f47f65..527c024 100644 --- a/morss/feedify.py +++ b/morss/feedify.py @@ -9,8 +9,8 @@ from ConfigParser import ConfigParser from fnmatch import fnmatch import lxml.html -import feeds -import crawler +from . import feeds +from . import crawler def to_class(query): diff --git a/morss/morss.py b/morss/morss.py index 158320c..bf0d68c 100644 --- a/morss/morss.py +++ b/morss/morss.py @@ -14,9 +14,9 @@ import json import lxml.etree import lxml.html -import feeds -import feedify -import crawler +from . import feeds +from . import feedify +from . import crawler import httplib import urllib