1 |
Author: zmedico |
2 |
Date: 2008-09-13 17:38:40 +0000 (Sat, 13 Sep 2008) |
3 |
New Revision: 11509 |
4 |
|
5 |
Modified: |
6 |
main/trunk/pym/portage/news.py |
7 |
Log: |
8 |
Define __all__ and remove unused imports found by pyflakes. |
9 |
|
10 |
|
11 |
Modified: main/trunk/pym/portage/news.py |
12 |
=================================================================== |
13 |
--- main/trunk/pym/portage/news.py 2008-09-13 05:53:18 UTC (rev 11508) |
14 |
+++ main/trunk/pym/portage/news.py 2008-09-13 17:38:40 UTC (rev 11509) |
15 |
@@ -3,14 +3,17 @@ |
16 |
# Distributed under the terms of the GNU General Public License v2 |
17 |
# $Id$ |
18 |
|
19 |
+__all__ = ["NewsManager", "NewsItem", "DisplayRestriction", |
20 |
+ "DisplayProfileRestriction", "DisplayKeywordRestriction", |
21 |
+ "DisplayInstalledRestriction"] |
22 |
+ |
23 |
import errno |
24 |
import os |
25 |
import re |
26 |
-from portage.const import INCREMENTALS, PROFILE_PATH, NEWS_LIB_PATH |
27 |
from portage.util import ensure_dirs, apply_permissions, normalize_path, grabfile, write_atomic |
28 |
from portage.data import portage_gid |
29 |
-from portage.locks import lockfile, unlockfile, lockdir, unlockdir |
30 |
-from portage.exception import FileNotFound, OperationNotPermitted |
31 |
+from portage.locks import lockfile, unlockfile |
32 |
+from portage.exception import OperationNotPermitted |
33 |
|
34 |
class NewsManager(object): |
35 |
""" |