[Biopython-dev] [Bug 2945] update_pdb: shutil.move needs to be indented; try block also?
bugzilla-daemon at portal.open-bio.org
bugzilla-daemon at portal.open-bio.org
Wed Nov 4 22:18:29 UTC 2009
http://bugzilla.open-bio.org/show_bug.cgi?id=2945
TallPaulInJax at yahoo.com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |TallPaulInJax at yahoo.com
------- Comment #2 from TallPaulInJax at yahoo.com 2009-11-04 17:18 EST -------
My thought process on the try block (and similar): if something or someone
outside of my control can affect the state of my program I am going to try and
catch that exception. So, when dealing with a file system who knows what could
happen! After all, we are trying to move obsolete files that may have been
downloaded months or years ago... who KNOWS where they are now, or what they've
been named. We are just calculating their SUPPOSED path and filename. If we had
just done a directory walk and found all files matching a regex expression,
that might be a different matter. Anyway, that's the logic! :-)
--
Configure bugmail: http://bugzilla.open-bio.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the Biopython-dev
mailing list