--
Zhanyong
--
Zhanyong
On Wed, Jul 28, 2010 at 2:56 PM, Dwight Barker <barker...@gmail.com> wrote:
> Uninstalled 3.x, installed Python 2.7. Rebooted and tried again. Error is essentially the same:
>
> Traceback (most recent call last):
> File "gmock_gen.py", line 31, in <module> gmock_class.main()
> File "C:\PROJECTS\gmock\scripts\generator\cpp\gmock_class.py", line 173, in main
> lines = _GenerateMocks(filename, source, entire_ast, desired_class_names)
> File "C:\PROJECTS\gmock\scripts\generator\cpp\gmock_class.py", line 92, in _GenerateMocks
> processed_class_names = sets.Set()
> NameError: global name 'sets' is not defined
>
> Maybe my system just has a weird config.
sets should be in Python 2.7, even though it's deprecated:
http://docs.python.org/library/sets.html
So I'm not sure what's wrong.
>
> - Dwight
--
Zhanyong