summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-09-13 17:38:40 +0000
committerZac Medico <zmedico@gentoo.org>2008-09-13 17:38:40 +0000
commite326938a1621e63506a0ea12f761781d84641837 (patch)
tree8f6c85e74bb21b07f3a72c90d1637fb49f7007ed
parentMove the world file update code out of update_config_files() since it should (diff)
downloadportage-multirepo-e326938a1621e63506a0ea12f761781d84641837.tar.gz
portage-multirepo-e326938a1621e63506a0ea12f761781d84641837.tar.bz2
portage-multirepo-e326938a1621e63506a0ea12f761781d84641837.zip
Define __all__ and remove unused imports found by pyflakes.
svn path=/main/trunk/; revision=11509
-rw-r--r--pym/portage/news.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/pym/portage/news.py b/pym/portage/news.py
index dd90f40d..203ce3fe 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):
"""