Skip to content
Snippets Groups Projects

Resolve "Run dpsim asynchronously"

Merged Richard Marston requested to merge 3-run-dpsim-asynchronously into master
2 unresolved threads

Closes #3 (closed)

Edited by Richard Marston

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
55 b_bytes = b
56 elif type(b) is str:
57 b_bytes = b.encode('utf-8')
58 else:
59 raise Exception("CANNOT UNDERSTAND TYPE OF " + str(b))
60 print("SET: ", a)
61 self.db[a] = b_bytes
62 return True
63 def smembers(self, a):
64 return self.members
65 def srem(self, a, b):
66 if b in self.members:
67 self.members.remove(b)
68 else:
69 print("NOT IN MEMBERS: ", b)
70 return True
  • LGTM! :thumbsup:

    I havn't understood everything, but maybe you can explain the missing bits in the next meeting :wink:

  • added 1 commit

    • 59deaad0 - Move redis test implementation into redis_stub

    Compare with previous version

  • Richard Marston unmarked as a Work In Progress

    unmarked as a Work In Progress

  • 1
  • Jonathan Klimt approved this merge request

    approved this merge request

  • added 1 commit

    • 72a807db - Move utility script into /utils

    Compare with previous version

  • Please register or sign in to reply
    Loading