~ubuntu-branches/ubuntu/trusty/pylint/trusty

« back to all changes in this revision

Viewing changes to test/input/func_noerror_nonregr.py

  • Committer: Bazaar Package Importer
  • Author(s): Sandro Tosi
  • Date: 2009-03-27 09:45:39 UTC
  • mfrom: (1.1.10 upstream)
  • Revision ID: james.westby@ubuntu.com-20090327094539-xe2s86jkbvdv3xhb
Tags: 0.18.0-1
* New upstream release
* debian/copyright
  - added packaging copyright for the work I do
  - clearly separated copyright and license notices, indenting by 4 spaces
  - link to GPL-2 file, not to the generic GPL
* debian/control
  - updated Homepage field
  - bump versions for python-logilab-common and python-logilab-astng depends
  - bump Standard-Versions to 3.8.1 (no changes needed)
* debian/{control, rules}
  - switch from python-central to python-support
* debian/rules
  - 'build' is a dir, we need to clean with 'rm'

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
def function1(cbarg = lambda: None):
7
7
    """
8
8
  File "/usr/lib/python2.4/site-packages/logilab/astng/scoped_nodes.py", line
9
 
391, in mularg_class
10
 
    i = self.argnames.index(argname)
 
9
391, in mularg_class # this method doesn't exist anymore
 
10
    i = self.args.args.index(argname)
11
11
ValueError: list.index(x): x not in list
12
12
    """
13
13
    cbarg().x