1 |
Author: scarabeus |
2 |
Date: 2010-10-28 21:39:18 +0000 (Thu, 28 Oct 2010) |
3 |
New Revision: 839 |
4 |
|
5 |
Modified: |
6 |
trunk/gentoolkit/pym/gentoolkit/equery/keywords.py |
7 |
trunk/gentoolkit/pym/gentoolkit/eshowkw/__init__.py |
8 |
trunk/gentoolkit/pym/gentoolkit/eshowkw/display_pretty.py |
9 |
trunk/gentoolkit/pym/gentoolkit/eshowkw/keywords_content.py |
10 |
trunk/gentoolkit/pym/gentoolkit/eshowkw/keywords_header.py |
11 |
Log: |
12 |
Add encoding informations. |
13 |
|
14 |
Modified: trunk/gentoolkit/pym/gentoolkit/equery/keywords.py |
15 |
=================================================================== |
16 |
--- trunk/gentoolkit/pym/gentoolkit/equery/keywords.py 2010-10-28 21:31:47 UTC (rev 838) |
17 |
+++ trunk/gentoolkit/pym/gentoolkit/equery/keywords.py 2010-10-28 21:39:18 UTC (rev 839) |
18 |
@@ -1,3 +1,4 @@ |
19 |
+# vim:fileencoding=utf-8 |
20 |
# Copyright 2010 Gentoo Foundation |
21 |
# Distributed under the terms of the GNU General Public License v2 |
22 |
|
23 |
|
24 |
Modified: trunk/gentoolkit/pym/gentoolkit/eshowkw/__init__.py |
25 |
=================================================================== |
26 |
--- trunk/gentoolkit/pym/gentoolkit/eshowkw/__init__.py 2010-10-28 21:31:47 UTC (rev 838) |
27 |
+++ trunk/gentoolkit/pym/gentoolkit/eshowkw/__init__.py 2010-10-28 21:39:18 UTC (rev 839) |
28 |
@@ -1,3 +1,4 @@ |
29 |
+# vim:fileencoding=utf-8 |
30 |
# Copyright 2010 Gentoo Foundation |
31 |
# Distributed under the terms of the GNU General Public License v2 |
32 |
|
33 |
@@ -79,10 +80,6 @@ |
34 |
def main(argv): |
35 |
global ignore_slots, bold, order, topper |
36 |
|
37 |
- # equery support |
38 |
- if argv[0] = 'equery': |
39 |
- pkgsearch_only = True |
40 |
- |
41 |
#opts parsing |
42 |
opts = process_args(argv) |
43 |
ignore_slots = opts.ignore_slot |
44 |
@@ -99,7 +96,7 @@ |
45 |
package = opts.package |
46 |
|
47 |
# equery support |
48 |
- if pkgsearch_only and len(package) <= 0: |
49 |
+ if argv[0] == 'equery' and len(package) <= 0: |
50 |
msg_err = 'No packages specified' |
51 |
raise SystemExit(msg_err) |
52 |
|
53 |
|
54 |
Modified: trunk/gentoolkit/pym/gentoolkit/eshowkw/display_pretty.py |
55 |
=================================================================== |
56 |
--- trunk/gentoolkit/pym/gentoolkit/eshowkw/display_pretty.py 2010-10-28 21:31:47 UTC (rev 838) |
57 |
+++ trunk/gentoolkit/pym/gentoolkit/eshowkw/display_pretty.py 2010-10-28 21:39:18 UTC (rev 839) |
58 |
@@ -1,3 +1,4 @@ |
59 |
+# vim:fileencoding=utf-8 |
60 |
# Copyright 2010 Gentoo Foundation |
61 |
# Distributed under the terms of the GNU General Public License v2 |
62 |
|
63 |
|
64 |
Modified: trunk/gentoolkit/pym/gentoolkit/eshowkw/keywords_content.py |
65 |
=================================================================== |
66 |
--- trunk/gentoolkit/pym/gentoolkit/eshowkw/keywords_content.py 2010-10-28 21:31:47 UTC (rev 838) |
67 |
+++ trunk/gentoolkit/pym/gentoolkit/eshowkw/keywords_content.py 2010-10-28 21:39:18 UTC (rev 839) |
68 |
@@ -1,3 +1,4 @@ |
69 |
+# vim:fileencoding=utf-8 |
70 |
# Copyright 2010 Gentoo Foundation |
71 |
# Distributed under the terms of the GNU General Public License v2 |
72 |
|
73 |
|
74 |
Modified: trunk/gentoolkit/pym/gentoolkit/eshowkw/keywords_header.py |
75 |
=================================================================== |
76 |
--- trunk/gentoolkit/pym/gentoolkit/eshowkw/keywords_header.py 2010-10-28 21:31:47 UTC (rev 838) |
77 |
+++ trunk/gentoolkit/pym/gentoolkit/eshowkw/keywords_header.py 2010-10-28 21:39:18 UTC (rev 839) |
78 |
@@ -1,3 +1,4 @@ |
79 |
+# vim:fileencoding=utf-8 |
80 |
# Copyright 2001-2010 Gentoo Foundation |
81 |
# Distributed under the terms of the GNU General Public License v2 |