Author: jerome Date: 2009-12-03 13:25:41 +0100 (Thu, 03 Dec 2009) New Revision: 5923
Modified: software_suite_v3/software/plugin/plugin-skype/branches/in_out_plugin/executables/utils.py Log: * patern - > pattern Modified: software_suite_v3/software/plugin/plugin-skype/branches/in_out_plugin/executables/utils.py =================================================================== --- software_suite_v3/software/plugin/plugin-skype/branches/in_out_plugin/executables/utils.py 2009-12-03 12:25:06 UTC (rev 5922) +++ software_suite_v3/software/plugin/plugin-skype/branches/in_out_plugin/executables/utils.py 2009-12-03 12:25:41 UTC (rev 5923) @@ -294,9 +294,9 @@ ''' Return a string removing all 'not tts pretty' characters. ''' - patern = ['[', '^', '"', ']', '+', ')', '"', '>', '(', '[', '^', '>', ']', '+', '.', + pattern = ['[', '^', '"', ']', '+', ')', '"', '>', '(', '[', '^', '>', ']', '+', '.', ')', '<', '/', '>', '-', '_', '{', '}', '@', '!', '*', '=', ':', ';', ',', "'"] - for rep in patern: + for rep in pattern: myString = myString.replace(rep, ' ') return myString ------------------------------------------------------------------------------ Join us December 9, 2009 for the Red Hat Virtual Experience, a free event focused on virtualization and cloud computing. Attend in-depth sessions from your desk. Your couch. Anywhere. http://p.sf.net/sfu/redhat-sfdev2dev _______________________________________________ Tux-droid-svn mailing list Tux-droid-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tux-droid-svn