My version of Python (2.5.2) core dumps if PySequence_Check is called with a
authormorriss <morriss@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 27 Apr 2011 22:15:42 +0000 (22:15 +0000)
committermorriss <morriss@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 27 Apr 2011 22:15:42 +0000 (22:15 +0000)
commit6c301e0bb37a290b0145e6259a31f77612db2d95
tree8e47e2388b1834e29525cd8bada9d8151615217f
parenta0687753d9950f87c84d24e12c523acf4f4e9808
My version of Python (2.5.2) core dumps if PySequence_Check is called with a
NULL pointer (because no dissectors were registered).  Don't call that function
with a NULL pointer.

Also update the output when no dissectors are registered.  Not sure if we
should be printing *anything* in this situation, but for now make the output
interesting.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36917 f5534014-38df-0310-8fa8-9805f1628bb7
epan/wspython/wspy_register.c