[PEP8]} changes for catlib.py

Change-Id: I008192a9fc6f3953e6c15eeea186b2a0b7336c10