diff -r logilab-common-0.45.1.orig/adbh.py logilab-common-0.45.1/adbh.py 96c96 < specific functionnalities from others DBMS --- > specific functionalities from others DBMS 102c102 < backend_name = None # overriden in subclasses ('postgres', 'sqlite', etc.) --- > backend_name = None # overridden in subclasses ('postgres', 'sqlite', etc.) 113c113 < # aggregat functions --- > # aggregate functions 406c406 < specific functionnalities from others DBMS --- > specific functionalities from others DBMS diff -r logilab-common-0.45.1.orig/cache.py logilab-common-0.45.1/cache.py 17c17 < """A dictionnary like cache. --- > """A dictionary like cache. 48c48 < # check the size of the dictionnary --- > # check the size of the dictionary diff -r logilab-common-0.45.1.orig/ChangeLog logilab-common-0.45.1/ChangeLog 175c175 < * fix #5945: wrong edge proporties in graph.DotBackend --- > * fix #5945: wrong edge properties in graph.DotBackend 189c189 < and additionnal graph parameter used --- > and additional graph parameter used 205c205 < - various failure ouput improvement --- > - various failure output improvement 216c216 < * textutils: add the apply_unit fonction --- > * textutils: add the apply_unit function 236c236 < * clcommands: commands may be hidden (eg not displayed in help), generic --- > * clcommands: commands may be hidden (e.g. not displayed in help), generic 259c259 < * testlib: restore python2.3 compatiblity --- > * testlib: restore python2.3 compatibility 385c385 < * fix a bug which provoqued a crash if devtools was not installed --- > * fix a bug which provoked a crash if devtools was not installed 547c547 < * new "date" otion type in optik_ext --- > * new "date" option type in optik_ext 607c607 < * testlib: various fixes and minor improvments --- > * testlib: various fixes and minor improvements 796c796 < making plylint reporting wrong modules name/path) --- > making pylint reporting wrong modules name/path) 825c825 < packages (ie recursive structure instead of the flat one), with --- > packages (i.e. recursive structure instead of the flat one), with 887c887 < * astng: fixed Class.as_string (empty paren when no base classes) --- > * astng: fixed Class.as_string (empty parent when no base classes) 889c889 < * astng.builder: knows a litle about method descriptors, Functin with --- > * astng.builder: knows a little about method descriptors, Function with 900c900 < modules embeding doctest). All mocks objects are very basic and will be --- > modules embedding doctest). All mocks objects are very basic and will be 999c999 < * fix bug in asntg, occuring with python2.3 and modules including an --- > * fix bug in asntg, occurring with python2.3 and modules including an 1002c1002 < * fix bug in astutils.get_rhs_consumed_names, occuring in lists --- > * fix bug in astutils.get_rhs_consumed_names, occurring in lists diff -r logilab-common-0.45.1.orig/changelog.py logilab-common-0.45.1/changelog.py 12c12 < * add a new functionnality --- > * add a new functionality 69c69 < """a change log entry, ie a set of messages associated to a version and --- > """a change log entry, i.e. a set of messages associated to a version and 103c103 < raise NotImplementedError("sub message to specific key are not impemented yet") --- > raise NotImplementedError("sub message to specific key are not implemented yet") 142c142 < if version is omited, return the current entry --- > if version is omitted, return the current entry diff -r logilab-common-0.45.1.orig/clcommands.py logilab-common-0.45.1/clcommands.py 84c84 < """display usage for the main program (ie when no command supplied) --- > """display usage for the main program (i.e. when no command supplied) diff -r logilab-common-0.45.1.orig/cli.py logilab-common-0.45.1/cli.py 54c54 < print 'readline si not available :-(' --- > print 'readline is not available :-(' 122c122 < lines wich are not commands). --- > lines which are not commands). diff -r logilab-common-0.45.1.orig/compat.py logilab-common-0.45.1/compat.py 72c72 < """immutable set (can be set in dictionnaries)""" --- > """immutable set (can be set in dictionaries)""" 110c110 < """mutable et cannot be hashed.""" --- > """mutable set cannot be hashed.""" 113c113 < del _baseset # don't explicity provide this class --- > del _baseset # don't explicitly provide this class diff -r logilab-common-0.45.1.orig/configuration.py logilab-common-0.45.1/configuration.py 372c372 < # dictionary assocating option name to checker --- > # dictionary associating option name to checker 537c537 < """read the configuration file but do not load it (ie dispatching --- > """read the configuration file but do not load it (i.e. dispatching 557c557 < """interactivly get configuration values by asking to the user and generate --- > """interactively get configuration values by asking to the user and generate diff -r logilab-common-0.45.1.orig/daemon.py logilab-common-0.45.1/daemon.py 37c37 < # deconnect from tty and create a new session --- > # disconnect from tty and create a new session 44c44 < # move to the root to avoit mount pb --- > # move to the root to avoid mount pb 61,62c61,62 < """ optionaly go in daemon mode and < do what concrete classe has to do and pauses for delay between runs --- > """ optionally go in daemon mode and > do what concrete class has to do and pauses for delay between runs 104c104 < """should be overidden in the mixed class""" --- > """should be overridden in the mixed class""" diff -r logilab-common-0.45.1.orig/db.py logilab-common-0.45.1/db.py 45c45 < """raised when a unknown driver is given to get connexion""" --- > """raised when a unknown driver is given to get connection""" 48c48 < """Raised when no Adpater to DBAPI was found""" --- > """Raised when no Adapter to DBAPI was found""" 167c167 < """Base class for all DBAPI adpaters""" --- > """Base class for all DBAPI adapters""" 177c177 < # optimisation: copy type codes from the native module to this instance --- > # optimization: copy type codes from the native module to this instance 222c222 < # may occurs on constant selection for instance (eg SELECT 'hop') --- > # may occurs on constant selection for instance (e.g. SELECT 'hop') 262c262 < """Handles psycopg connexion format""" --- > """Handles psycopg connection format""" 319c319 < """Handles psycopg connexion format""" --- > """Handles psycopg connection format""" 424c424 < """Handles sqlite connexion format""" --- > """Handles sqlite connection format""" 474c474 < """Handles sqlite connexion format""" --- > """Handles sqlite connection format""" 509c509 < """Handles mysqldb connexion format --- > """Handles mysqldb connection format 632c632 < """sets the prefered driver module for database --- > """sets the preferred driver module for database 636c636 < _drivers is a optionnal dictionnary of drivers --- > _drivers is a optional dictionary of drivers 666c666 < """return a db connexion according to given arguments""" --- > """return a db connection according to given arguments""" diff -r logilab-common-0.45.1.orig/debugger.py logilab-common-0.45.1/debugger.py 156c156 < ## specific / overidden commands --- > ## specific / overridden commands diff -r logilab-common-0.45.1.orig/fileutils.py logilab-common-0.45.1/fileutils.py 74c74 < isn't begining by text/) --- > isn't beginning by text/) 128c128 < - each write operation writes in this StringIO obejct --- > - each write operation writes in this StringIO object 165c165 < """Try to get a relative path from from `from_file` to `to_file` --- > """Try to get a relative path from `from_file` to `to_file` 273c273 < (ie lines starting with this string won't be returned) --- > (i.e. lines starting with this string won't be returned) 297c297 < (ie lines starting with this string won't be returned) --- > (i.e. lines starting with this string won't be returned) 343c343 < flag indicating wether information about exported files should be --- > flag indicating whether information about exported files should be 378c378 < """Recursivly traverse directory and remove all dead links. --- > """Recursively traverse directory and remove all dead links. 385c385 < flag indicating wether information about deleted links should be --- > flag indicating whether information about deleted links should be diff -r logilab-common-0.45.1.orig/graph.py logilab-common-0.45.1/graph.py 1c1 < """Graph manipuliation utilities. --- > """Graph manipulation utilities. diff -r logilab-common-0.45.1.orig/logging_ext.py logilab-common-0.45.1/logging_ext.py 19c19 < """bind standart logger's methods as methods on the class""" --- > """bind standard logger's methods as methods on the class""" 36c36 < self.colors is customizable via the 'color' constructor argument (dictionnary). --- > self.colors is customizable via the 'color' constructor argument (dictionary). diff -r logilab-common-0.45.1.orig/modutils.py logilab-common-0.45.1/modutils.py 191c191 < as value. This is usually useful to handle package splited in multiple --- > as value. This is usually useful to handle package splitted in multiple 225c225 < """given a mod path (ie splited module / package name), return the --- > """given a mod path (i.e. splitted module / package name), return the 521c521 < true if the module has been imported relativly to `from_file` --- > true if the module has been imported relatively to `from_file` 537c537 < """given a mod path (ie splited module / package name), return the --- > """given a mod path (i.e. splitted module / package name), return the diff -r logilab-common-0.45.1.orig/optik_ext.py logilab-common-0.45.1/optik_ext.py 113c113 < return a dictionnary containing (name, value) associations --- > return a dictionary containing (name, value) associations 168c168 < value or predefinied color" --- > value or predefined color" diff -r logilab-common-0.45.1.orig/optparser.py logilab-common-0.45.1/optparser.py 60c60 < self.error('unknow command') --- > self.error('unknown command') diff -r logilab-common-0.45.1.orig/proc.py logilab-common-0.45.1/proc.py 89c89 < """return a list of existant process ids""" --- > """return a list of existent process ids""" 121c121 < limit = "Unknow Resource Limit" --- > limit = "Unknown Resource Limit" 125c125 < limit = "Unknow Resource Limit" --- > limit = "Unknown Resource Limit" 129c129 < """Error raised when CPU Time limite is reached""" --- > """Error raised when CPU Time limit is reached""" diff -r logilab-common-0.45.1.orig/pytest.py logilab-common-0.45.1/pytest.py 71c71 < you can filter the function with a simpe python expression --- > you can filter the function with a simple python expression 320c320 < # if modfile is not an asbolute path, it was probably loaded locally --- > # if modfile is not an absolute path, it was probably loaded locally 328c328 < """encaspulates testrun logic""" --- > """encapsulates testrun logic""" 344c344 < # errcode set explicity --- > # errcode set explicitly 354c354 < """walks trhough current working directory, finds something --- > """walks through current working directory, finds something 436c436 < print >> sys.stderr, 'unhandled exception occured while testing', modname --- > print >> sys.stderr, 'unhandled exception occurred while testing', modname 493c493 < """walks trhough current working directory, finds something --- > """walks through current working directory, finds something 514c514 < # special django behaviour : if tests are splited in several files, --- > # special django behaviour : if tests are splitted in several files, 559c559 < print 'unhandled exception occured while testing', modname --- > print 'unhandled exception occurred while testing', modname 636c636 < help="only execute test whose tag macht the current pattern") --- > help="only execute test whose tag match the current pattern") diff -r logilab-common-0.45.1.orig/README logilab-common-0.45.1/README 43c43 < their names to values provided in a dictionnary. --- > their names to values provided in a dictionary. 64c64 < Usefull functions for use with the OmniORB CORBA library. --- > Useful functions for use with the OmniORB CORBA library. diff -r logilab-common-0.45.1.orig/shellutils.py logilab-common-0.45.1/shellutils.py 96c96 < """Recursivly find files ending with the given extensions from the directory. --- > """Recursively find files ending with the given extensions from the directory. diff -r logilab-common-0.45.1.orig/sqlgen.py logilab-common-0.45.1/sqlgen.py 49c49 < :param params: dictionnary that will be used as in cursor.execute(sql,params) --- > :param params: dictionary that will be used as in cursor.execute(sql,params) 65c65 < :param params: dictionnary that will be used as in cursor.execute(sql,params) --- > :param params: dictionary that will be used as in cursor.execute(sql,params) 85c85 < :param params: dictionnary that will be used as in cursor.execute(sql, params) --- > :param params: dictionary that will be used as in cursor.execute(sql, params) 107c107 < :param params: dictionnary that will be used as in cursor.execute(sql,params) --- > :param params: dictionary that will be used as in cursor.execute(sql,params) 122c122 < :param params: dictionnary that will be used as in cursor.execute(sql,params) --- > :param params: dictionary that will be used as in cursor.execute(sql,params) 205c205 < list of dictionnaries (one for each record) whose keys are column names and --- > list of dictionaries (one for each record) whose keys are column names and diff -r logilab-common-0.45.1.orig/table.py logilab-common-0.45.1/table.py 108c108 < :returns: nested dictionnaries pointing to actual rows --- > :returns: nested dictionaries pointing to actual rows 421c421 < # The maxium row name (to know the start_index of the first col) --- > # The maximum row name (to know the start_index of the first col) diff -r logilab-common-0.45.1.orig/testlib.py logilab-common-0.45.1/testlib.py 116c116 < # an unexpected error occured --- > # an unexpected error occurred 772c772 < """ Recurcive function that removes succTests from --- > """ Recursive function that removes succTests from 908c908 < """use this functon if you want to have the same functionality --- > """use this function if you want to have the same functionality 1342c1342 < # check childrend --- > # check children 1401c1401 < # ocmpare --- > # compare 1771c1771 < """ Compare version of python interpretor to the given one. Skip the test --- > """ Compare version of python interpreter to the given one. Skip the test diff -r logilab-common-0.45.1.orig/textutils.py logilab-common-0.45.1/textutils.py 21c21 < ANSI terminal code notifing the start of an ANSI escape sequence --- > ANSI terminal code notifying the start of an ANSI escape sequence 25c25 < ANSI terminal code notifing the end of an ANSI escape sequence --- > ANSI terminal code notifying the end of an ANSI escape sequence 29c29 < ANSI terminal code reseting format defined by a previous ANSI escape sequence --- > ANSI terminal code resetting format defined by a previous ANSI escape sequence 80c80 < :param string: an optionaly quoted string --- > :param string: an optionally quoted string 130c130 < optionaly arbitrary indentation. Line jumps are normalized. The --- > optionally arbitrary indentation. Line jumps are normalized. The 159c159 < optionaly arbitrary indentation. Line jumps are normalized. The --- > optionally arbitrary indentation. Line jumps are normalized. The 264c264 < (eg: "1.5m",{'m',60} -> 80). --- > (e.g.: "1.5m",{'m',60} -> 80). 276c276 < :param blank_reg: should match eveyr blank char to ignore. --- > :param blank_reg: should match every blank char to ignore. 390c390 < :raise KeyError: if an unexistant color or style identifier is given --- > :raise KeyError: if an unexistent color or style identifier is given 421c421 < :raise KeyError: if an unexistant color or style identifier is given --- > :raise KeyError: if an unexistent color or style identifier is given diff -r logilab-common-0.45.1.orig/tree.py logilab-common-0.45.1/tree.py 27c27 < """a basic tree node, caracterised by an id""" --- > """a basic tree node, characterized by an id""" 221c221 < """a binary node (ie only two children --- > """a binary node (i.e. only two children 351c351 < """a pretfixed depth first iterator, designed to be used with visitors --- > """a prefixed depth first iterator, designed to be used with visitors diff -r logilab-common-0.45.1.orig/umessage.py logilab-common-0.45.1/umessage.py 116c116 < is exepected to be an header containing address such as from, to, cc...) --- > is expected to be an header containing address such as from, to, cc...) diff -r logilab-common-0.45.1.orig/ureports/__init__.py logilab-common-0.45.1/ureports/__init__.py 3c3 < A way to create simple reports using python objects, primarly designed to be --- > A way to create simple reports using python objects, primarily designed to be diff -r logilab-common-0.45.1.orig/ureports/nodes.py logilab-common-0.45.1/ureports/nodes.py 105c105 < """an embeded or a single image --- > """an embedded or a single image diff -r logilab-common-0.45.1.orig/visitor.py logilab-common-0.45.1/visitor.py 38c38 < call 'open_visit' before the begining of the visit, with extra args --- > call 'open_visit' before the beginning of the visit, with extra args diff -r logilab-common-0.45.1.orig/xmlutils.py logilab-common-0.45.1/xmlutils.py 6c6 < instruction and return a Python dictionnary. --- > instruction and return a Python dictionary. 21,22c21,22 < Utilitary function that parses the data contained in an XML < processing instruction and returns a dictionnary of keywords and their --- > Utility function that parses the data contained in an XML > processing instruction and returns a dictionary of keywords and their 30c30 < :returns: Dictionnary of the keywords (Unicode strings) associated to --- > :returns: Dictionary of the keywords (Unicode strings) associated to