added code quality comment about masking of locals builtin
This commit is contained in:
@@ -38,7 +38,8 @@ class FileProxy(object):
|
||||
f = object.__getattribute__(self, 'f')
|
||||
return getattr(f, attr)
|
||||
|
||||
|
||||
# @@tavis: the `locals` args below mask the built-in function. Should
|
||||
# be renamed.
|
||||
class SocketConsole(greenlets.greenlet):
|
||||
def __init__(self, desc, hostport, locals):
|
||||
self.hostport = hostport
|
||||
@@ -108,4 +109,3 @@ def backdoor((conn, addr), locals=None):
|
||||
|
||||
if __name__ == '__main__':
|
||||
backdoor_server(eventlet.listen(('127.0.0.1', 9000)), {})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user