NationalSecurityAgency / lemongraph

Log-based transactional graph engine
Other
1.14k stars 149 forks source link

5 undefined names #16

Closed cclauss closed 6 years ago

cclauss commented 6 years ago

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

./LemonGraph/fifo.py:47:64: F821 undefined name 'value'
                    if not lib.kv_put(self._kv, key, len(key), value, len(value)):
                                                               ^
./LemonGraph/fifo.py:47:75: F821 undefined name 'value'
                    if not lib.kv_put(self._kv, key, len(key), value, len(value)):
                                                                          ^
./LemonGraph/server.py:818:111: F821 undefined name 'eat_params'
            params = dict((k, v) if len(v) > 1 else (k, v[0]) for k, v in self.params.iteritems() if k not in eat_params)
                                                                                                              ^
./LemonGraph/query.py:129:24: F821 undefined name 'itertools'
                return itertools.chain.from_iterable(h)
                       ^
./LemonGraph/httpd.py:561:65: F821 undefined name 'code'
            raise Exception('unsupported http error code: %d' % code)
                                                                ^
5     F821 undefined name 'value'
5
NSA-LGDev2 commented 6 years ago

Thanks!