summaryrefslogtreecommitdiffstats
path: root/DEVELOPING
diff options
context:
space:
mode:
authorJoachim Bartosik <jbartosik@gentoo.org>2012-09-08 21:16:36 -0700
committerZac Medico <zmedico@gentoo.org>2012-09-08 21:16:36 -0700
commit2404704fee165a684e0d730ee3787a512fd71b60 (patch)
treef7b36544030568ae462f93e6fd41657668b5cee9 /DEVELOPING
parentc62331ea1bc831d68d205466b379eda72dbbcaa1 (diff)
downloadportage-2404704fee165a684e0d730ee3787a512fd71b60.tar.gz
portage-2404704fee165a684e0d730ee3787a512fd71b60.tar.bz2
portage-2404704fee165a684e0d730ee3787a512fd71b60.zip
DEVELOPING: fix errors for bug #313413
Diffstat (limited to 'DEVELOPING')
-rw-r--r--DEVELOPING13
1 files changed, 2 insertions, 11 deletions
diff --git a/DEVELOPING b/DEVELOPING
index ebe5d56c3..5f15e1590 100644
--- a/DEVELOPING
+++ b/DEVELOPING
@@ -51,7 +51,7 @@ wrapping is always clear (but you cannot convert spaces as easily as tabwidth).
Comparisons
-----------
-if foo == None
+if foo != None
should be replaced with:
@@ -159,13 +159,4 @@ just COLOR. However it means during introspection of the current namespace
The NO example just imports a set of functions from the output module. It is
somewhat annoying because the import line needs to be modified when functions
are needed and often unused functions are left in the import line until someone
-comes along with a linter to clean up (does not happen often). The color is a
-bit clearer as
-
- print red('blar')
-
-is shorter than:
-
- print output.red('blar')
-
-Rationale: python -c 'import portage; dir(portage)' (circa 02/2008)
+comes along with a linter to clean up (does not happen often).