From: Alec Warner Date: Mon, 3 Apr 2006 04:16:49 +0000 (-0000) Subject: Add a deprecation notice for those who are still using tokenize ( hopefully no one... X-Git-Tag: v2.1_pre8~41 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=bf9cf98534df05fcccec45e68b7f4f3f2e96125b;p=portage.git Add a deprecation notice for those who are still using tokenize ( hopefully no one :/ ) svn path=/main/trunk/; revision=3059 --- diff --git a/pym/portage.py b/pym/portage.py index 3b69bebc6..7a65cb40a 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -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