[Checkins] SVN: z3c.extfile/trunk/src/z3c/extfile/processor.txt
MAke sure the order is correct.
Stephan Richter
srichter at cosmos.phy.tufts.edu
Thu Aug 17 10:06:24 EDT 2006
Log message for revision 69601:
MAke sure the order is correct.
Changed:
U z3c.extfile/trunk/src/z3c/extfile/processor.txt
-=-
Modified: z3c.extfile/trunk/src/z3c/extfile/processor.txt
===================================================================
--- z3c.extfile/trunk/src/z3c/extfile/processor.txt 2006-08-17 13:56:08 UTC (rev 69600)
+++ z3c.extfile/trunk/src/z3c/extfile/processor.txt 2006-08-17 14:06:24 UTC (rev 69601)
@@ -19,14 +19,14 @@
>>> fp = open(os.path.join(testDir,'input1.inp'))
>>> proc.pushInput(fp, out)
- >>> print '\n'.join(hd.digests())
+ >>> print '\n'.join(sorted(hd.digests()))
28a33adad3dbce5d72ec8012c9e0563b8ef1eb17
3ac60068645f651bf2e528e15402a32daecb6873
So now we should have two files.
>>> d2, d1 = sorted(hd.digests())
-
+
>>> f = hd.open(d1)
>>> print f.read()
first line of 1
@@ -59,8 +59,8 @@
submit data
-----------------------------100323068321119442571506749230--
<BLANKLINE>
-
+
Cleanup
>>> import shutil
- >>> shutil.rmtree(tmp)
+ >>> shutil.rmtree(tmp)
More information about the Checkins
mailing list