Skip to content

Conversation

@amotzg
Copy link
Contributor

@amotzg amotzg commented Jun 23, 2016

This PR replace #92. It is made on an updated master.
This is required when passing non-string keys or arguments to Lua scripts.

if not client.script_exists(self.sha)[0]:
self.sha = client.script_load(self.script)

return self._execute_lua(keys, args, client)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you add some unit tests?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Of course.
I'll add it to test_script.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants