honeynet / droidbot

A lightweight test input generator for Android. Similar to Monkey, but with more intelligence and cool features!
MIT License
812 stars 234 forks source link

`types` is an undefined name on line 477 of ./droidbox_scripts/utils.py #49

Closed cclauss closed 7 years ago

cclauss commented 7 years ago

flake8 testing of https://github.com/honeynet/droidbot on Python 2.7.13

$ flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics

./droidbox_scripts/utils.py:477:24: F821 undefined name 'types'
    if type(l) not in (types.IntType, types.LongType):
                       ^

./droidbox_scripts/utils.py:477:39: F821 undefined name 'types'
    if type(l) not in (types.IntType, types.LongType):
                                      ^
yuanchun-li commented 7 years ago

Thank you! droidbox_scripts/utils.py is a deprecated file. I've removed it in the newest commit.