~unity-2d-team/unity-2d/Shell-MultiMonitor

« back to all changes in this revision

Viewing changes to grackle/wsgi.py

  • Committer: William Grant
  • Date: 2012-01-22 10:39:15 UTC
  • Revision ID: william.grant@canonical.com-20120122103915-lqjw4jsaw3ug1q2g
Merge grackle.server into grackle. Alter Makefile to run all the tests.

Show diffs side-by-side

added added

removed removed

Lines of Context:
62
62
            count = 10
63
63
        order = getattr(args, 'order', '-date')
64
64
        start = getattr(args, 'start', '')
 
65
        if start:
 
66
            start = uuid.UUID(start)
65
67
        messages, next_memo = conn.get_messages(name, order, count, start)
66
68
        return json.dumps({
67
69
            'messages': messages,