# 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):
"""