[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Python syntax warning in the regression tests

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2003-10-11 23:14:23 CEST

I think I understand the warning, but I'm not sure how best to fix it.

$ cd subversion/tests/clients/cmdline
$ ./copy-tests.py list > /dev/null
./copy_tests.py:1191: SyntaxWarning: local name 'wc_dir' in 'revision_kinds_local_source' shadows use of 'wc_dir' as global in nested scope 'cp_test'
  def revision_kinds_local_source(sbox):
./copy_tests.py:1191: SyntaxWarning: local name 'mu_path' in 'revision_kinds_local_source' shadows use of 'mu_path' as global in nested scope 'cp_test'
  def revision_kinds_local_source(sbox):
./copy_tests.py:1191: SyntaxWarning: local name 'expected_disk' in 'revision_kinds_local_source' shadows use of 'expected_disk' as global in nested scope 'cp_test'
  def revision_kinds_local_source(sbox):

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 11 23:15:08 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.