Message143692
| Author |
kesmit |
| Recipients |
kesmit |
| Date |
2011年09月07日.16:01:35 |
| SpamBayes Score |
6.565416e-07 |
| Marked as misclassified |
No |
| Message-id |
<1315411296.33.0.213336425163.issue12932@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
While filecmp.cmp and filecmp.cmpfiles allow a shallow option to be specified to invoke a more involved comparison of files, filecmp.dircmp does not. It is limited to shallow-only comparisons.
This could be solved quite easily by adding a shallow keyword option to dircmp then changing the phase3 method to the following.
def phase3(self): # Find out differences between common files
xx = cmpfiles(self.left, self.right, self.common_files, self.shallow)
self.same_files, self.diff_files, self.funny_files = xx |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2011年09月07日 16:01:36 | kesmit | set | recipients:
+ kesmit |
| 2011年09月07日 16:01:36 | kesmit | set | messageid: <1315411296.33.0.213336425163.issue12932@psf.upfronthosting.co.za> |
| 2011年09月07日 16:01:35 | kesmit | link | issue12932 messages |
| 2011年09月07日 16:01:35 | kesmit | create |
|