General code clean-up of issue PyCharm linter is highlighting.
General code clean-up of issue PyCharm linter is highlighting.

stevejpurves/segpy,hohogpb/segpy,kjellkongsvik/segpy,asbjorn/segpy,kwinkunks/segpy,Kramer477/segpy,abingham/segpy