From: "Brian Dolbec" <brian.dolbec@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/layman:master commit in: layman/
Date: Mon, 14 Feb 2011 06:00:33 +0000 (UTC) [thread overview]
Message-ID: <503c1586ac80109089f0bf6d0a1a0a579a19a6d7.dol-sen@gentoo> (raw)
Message-ID: <20110214060033.hBjacpzK2YXu2R9uiaVfw0jp36s5wOI3r46mRs0r-lc@z> (raw)
commit: 503c1586ac80109089f0bf6d0a1a0a579a19a6d7
Author: Brian Dolbec <brian.dolbec <AT> gmail <DOT> com>
AuthorDate: Mon Feb 14 00:49:30 2011 +0000
Commit: Brian Dolbec <brian.dolbec <AT> gmail <DOT> com>
CommitDate: Mon Feb 14 00:49:30 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/layman.git;a=commit;h=503c1586
fix a missed color_off(), add myself to the copyright, whitespace cleaning
---
layman/config.py | 17 +++++++----------
1 files changed, 7 insertions(+), 10 deletions(-)
diff --git a/layman/config.py b/layman/config.py
index e515155..6f8f658 100644
--- a/layman/config.py
+++ b/layman/config.py
@@ -10,6 +10,7 @@
# Copyright:
# (c) 2005 - 2009 Gunnar Wrobel
# (c) 2009 Sebastian Pipping
+# (c) 2010 - 2011 Brian Dolbec
# Distributed under the terms of the GNU General Public License v2
#
# Author(s):
@@ -30,18 +31,14 @@ __version__ = "$Id: config.py 286 2007-01-09 17:48:23Z wrobel $"
import sys, ConfigParser
import os
-from optparse import OptionParser, OptionGroup
+from optparse import OptionParser, OptionGroup
-#from layman.debug import OUT
-from layman.output import OUT
+#from layman.debug import OUT
+from layman.output import OUT
-from layman.version import VERSION
+from layman.constants import OFF
+from layman.version import VERSION
-#===============================================================================
-#
-# Class Config
-#
-#-------------------------------------------------------------------------------
_USAGE = """
layman (-a|-d|-s|-i) (OVERLAY|ALL)
@@ -375,7 +372,7 @@ class ArgsParser(object):
if self.options.__dict__['nocolor']:
- self.output.color_off()
+ self.output.set_colorize(OFF)
# Fetch only an alternate config setting from the options
if not self.options.__dict__['config'] is None:
next reply other threads:[~2011-02-14 6:02 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-14 0:54 Brian Dolbec [this message]
2011-02-14 6:00 ` [gentoo-commits] proj/layman:master commit in: layman/ Brian Dolbec
-- strict thread matches above, loose matches on Subject: below --
2011-02-14 6:00 Brian Dolbec
2011-02-14 0:54 ` [gentoo-commits] proj/layman:overlord_merge " Brian Dolbec
2011-02-14 6:00 [gentoo-commits] proj/layman:master " Brian Dolbec
2011-02-14 0:54 ` [gentoo-commits] proj/layman:overlord_merge " Brian Dolbec
2011-02-14 0:54 Brian Dolbec
2011-02-14 0:54 Brian Dolbec
2011-02-14 0:54 Brian Dolbec
2011-02-14 0:54 Brian Dolbec
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=503c1586ac80109089f0bf6d0a1a0a579a19a6d7.dol-sen@gentoo \
--to=brian.dolbec@gmail.com \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox