Fixed the setting of the current data pipe so that the 'test_deletion()' unit test passes.
The current data pipe was not being set to None by the 'generic_fns.pipes.delete()' if the deleted pipe is the current pipe.
Authored by: bugman 2007-03-13
Parent: [r3161]
Child: [r3163]