??????????????
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 173
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 174
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 175
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 176
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 177
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 178
ó
ðv_c @ s· d Z y d d l Z Wn e k
r5 d d l Z n Xd e f d „ ƒ YZ d d d d „ Z d „ Z d d
„ Z d d „ Z
e j d d
k r› e
Z n e Z d „ Z
d „ Z d S( s«
utility functions to handle differences in pysqlite versions
These are from Wichert Akkerman 's python-dhm
http://www.wiggy.net/code/python-dhm
iÿÿÿÿNt
TokenizeErrorc B s e Z d Z RS( s Tokenizer error class( t __name__t
__module__t __doc__( ( ( s0 /usr/lib/python2.7/site-packages/yum/sqlutils.pyR s s
s "s \c C s™ | g d d f \ } } } } y,x%| rH| d | k rC d } nø | d k rl | d | k rl | d } nÏ | d | k rÐ | d k r™ | | d 7} q;| j | ƒ d } xŒ | d | k rÌ | d } q¯ Wnk | d | k r| d k rù | d } n | | d 7} | d } n' | d k r-| d } n | | d 7} | d } q$ WWn t k
rft d ‚ n X| ryt d ‚ n | d k r•| j | ƒ n | S( s– String tokenizer
This function tokenizes a string while taking quotation and
escaping into account.
>>> import dhm.strtools
>>> dhm.strtools.Tokenize("this is a test")
['this', 'is', 'a', 'test']
>>> dhm.strtools.Tokenize("this "is a" test")
['this', 'is a', 'test']
>>> dhm.strtools.Tokenize("this \"is\" a test")
['this', '"is"', 'a', 'test']
>>> dhm.strtools.Tokenize("this "is a test")
Traceback (most recent call last):
File "", line 1, in ?
File "/usr/local/lib/python2.2/site-packages/dhm/strtools.py", line 80, in Tokenize
raise TokenizeError, "Unexpected end of string in quoted text"
dhm.strtools.TokenizeError: Unexecpted end of string in quoted text
@param str: string to tokenize
@type str: string
@param whitespace: whitespace characters separating tokens
@type whitespace: string
@param quotes: legal quoting characters
@type quotes: string
@param escapes: characters which can escape quoting characters
@type escapes: string
@return: list of tokens
@rtype: sequence of strings
i i s Unexpected end of strings' Unexpected end of string in quoted textN( t Nonet appendt
IndexErrorR ( t strt
whitespacet quotest escapest buffert tokenst curtokent quote( ( s0 /usr/lib/python2.7/site-packages/yum/sqlutils.pyt Tokenize s<