Skip to content

Instantly share code, notes, and snippets.

@chelseatroy
Last active December 24, 2019 15:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chelseatroy/efca0980874f7b4599c445c4dac73ed6 to your computer and use it in GitHub Desktop.
Save chelseatroy/efca0980874f7b4599c445c4dac73ed6 to your computer and use it in GitHub Desktop.
Ignoring Empty Strings
class KeyValueStore:
...
def execute(self, string_operation, term_absent, write=True, path_to_logs=''):
if len(string_operation) == 0:
return
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment