fix typo stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 26 Oct 2011 15:41:29 +0200
branchstable
changeset 788 3827c07ecb2e
parent 787 0b98935f0d2a
child 789 091616c4742b
fix typo
_apycotlib/checkers/python.py
--- a/_apycotlib/checkers/python.py	Wed Oct 26 15:00:19 2011 +0200
+++ b/_apycotlib/checkers/python.py	Wed Oct 26 15:41:29 2011 +0200
@@ -62,7 +62,7 @@
             modname = '%s.%s' % (package, modname)
         elif distname.startswith('cubicweb-'):
             cubespdir = join(os.environ['APYCOT_ROOT'], 'local', 'share', 'cubicweb')
-            test.update_env(atest.tconfig.name, 'PYTHONPATH', cubespdir)
+            test.update_env(test.tconfig.name, 'PYTHONPATH', cubespdir)
             return join(cubespdir, 'cubes', modname)
     if modname:
         try: