Add a deprecation notice for those who are still using tokenize ( hopefully no one...
authorAlec Warner <antarus@gentoo.org>
Mon, 3 Apr 2006 04:16:49 +0000 (04:16 -0000)
committerAlec Warner <antarus@gentoo.org>
Mon, 3 Apr 2006 04:16:49 +0000 (04:16 -0000)
svn path=/main/trunk/; revision=3059

pym/portage.py

index 3b69bebc6feafd242919f3128fda7fc10e3799cd..7a65cb40a1ad39f2067e14515576fa74d4b696bb 100644 (file)
@@ -308,7 +308,9 @@ def tokenize(mystring):
        into embedded lists; returns None on paren mismatch"""
 
        # This function is obsoleted.
-       # Use dep_parenreduce
+       # Use portage_dep.parenreduce
+
+       writemsg( output.red("!!! Tokenize is deprecated, please use portage_dep.parenreduce.\n")
 
        newtokens=[]
        curlist=newtokens