add export control warning and PEP8 fixes

Same issue with string splitting here.