From e326938a1621e63506a0ea12f761781d84641837 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sat, 13 Sep 2008 17:38:40 +0000 Subject: Define __all__ and remove unused imports found by pyflakes. svn path=/main/trunk/; revision=11509 --- pym/portage/news.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'pym/portage/news.py') diff --git a/pym/portage/news.py b/pym/portage/news.py index dd90f40d3..203ce3fec 100644 --- a/pym/portage/news.py +++ b/pym/portage/news.py @@ -3,14 +3,17 @@ # Distributed under the terms of the GNU General Public License v2 # $Id$ +__all__ = ["NewsManager", "NewsItem", "DisplayRestriction", + "DisplayProfileRestriction", "DisplayKeywordRestriction", + "DisplayInstalledRestriction"] + import errno import os import re -from portage.const import INCREMENTALS, PROFILE_PATH, NEWS_LIB_PATH from portage.util import ensure_dirs, apply_permissions, normalize_path, grabfile, write_atomic from portage.data import portage_gid -from portage.locks import lockfile, unlockfile, lockdir, unlockdir -from portage.exception import FileNotFound, OperationNotPermitted +from portage.locks import lockfile, unlockfile +from portage.exception import OperationNotPermitted class NewsManager(object): """ -- cgit v1.2.3-1-g7c22