On Wed, Sep 1, 2010 at 04:44,  <julianf...@apache.org> wrote:
>...
> +++ subversion/trunk/tools/dev/wc-ng/bump-to-19.py Wed Sep  1 08:44:08 2010
>...
> +    try:
> +      os.remove(db_path(wc_subdir_path))
> +      if os.path.exists(pristine_path(wc_subdir_path)):
> +        os.rmdir(pristine_path(wc_subdir_path))
> +      shutil.rmtree(tmp_path(wc_subdir_path))
> +      os.rmdir(dotsvn_path(wc_subdir_path))
> +    except Exception, e:
> +      print e
> +      failed_delete_subdirs += [wc_subdir_path]

For future reference, a better idiom is:

  failed_delete_subdirs.append(wc_subdir_path)

>...

Cheers,
-g

Reply via email to