# Copyright (c) Twisted Matrix Laboratories. # See LICENSE for details. class Enum: group = None def __init__(self, label): self.label = label def __repr__(self): return '<%s: %s>' % (self.group, self.label) def __str__(self): return self.label class StatusEnum(Enum): group = 'Status' OFFLINE = Enum('Offline') ONLINE = Enum('Online') AWAY = Enum('Away') class OfflineError(Exception): """The requested action can't happen while offline."""
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
__pycache__ | Folder | 0755 |
|
|
__init__.py | File | 129 B | 0644 |
|
baseaccount.py | File | 1.77 KB | 0644 |
|
basechat.py | File | 16.07 KB | 0644 |
|
basesupport.py | File | 7.66 KB | 0644 |
|
instancemessenger.glade | File | 75.32 KB | 0644 |
|
interfaces.py | File | 8.47 KB | 0644 |
|
ircsupport.py | File | 8.94 KB | 0644 |
|
locals.py | File | 499 B | 0644 |
|
pbsupport.py | File | 9.45 KB | 0644 |
|