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

« back to all changes in this revision

Viewing changes to grackle-put-message

  • Committer: Aaron Bentley
  • Date: 2012-01-13 15:41:11 UTC
  • mto: (6.1.30 trunk)
  • mto: This revision was merged to the branch mainline in revision 45.
  • Revision ID: aaron@canonical.com-20120113154111-3vs12qvejtwgrlh3
RemoveĀ uselessĀ code.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
import sys
3
3
from grackle import client
4
4
 
5
 
 
6
5
class UserError(Exception):
7
6
    """An error caused by a user mistake."""
8
7
 
9
 
 
10
8
def main(*args):
11
9
    if len(args) != 2:
12
10
        raise UserError("Wrong number of arguments supplied.")