This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author draghuram
Recipients draghuram, facundobatista, gvanrossum, init, pitrou
Date 2008-01-28.21:56:51
SpamBayes Score 0.087864295
Marked as misclassified No
Message-id <1201557412.73.0.48805092312.issue1577@psf.upfronthosting.co.za>
In-reply-to
Content
Hi Antoine,

You stated the following in a previous comment:

"Right now, shutil.move(src_dir, dst_dir) replaces dst_dir with src_dir
if dst_dir is empty, but moves src_dir inside dst_dir otherwise."

But my test shows differently. If dst_dir doesn't exist or if it is
empty, dst_dir is simply replaced with src_dir. If dst_dir is non-empty,
shutil.move() raises error. In which case did you find src_dir being
moved to dst_dir?
History
Date User Action Args
2008-01-28 21:56:52draghuramsetspambayes_score: 0.0878643 -> 0.087864295
recipients: + draghuram, gvanrossum, facundobatista, pitrou, init
2008-01-28 21:56:52draghuramsetspambayes_score: 0.0878643 -> 0.0878643
messageid: <1201557412.73.0.48805092312.issue1577@psf.upfronthosting.co.za>
2008-01-28 21:56:51draghuramlinkissue1577 messages
2008-01-28 21:56:51draghuramcreate