1
0
Fork 0
mirror of git://git.psyced.org/git/pypsyc synced 2024-08-15 03:20:04 +00:00
pypsyc/mjacob/old/PSYC/PSYCPacket.py
psyc://psyced.org/~lynX 0f02e9cd76 last state we had in cvs
2010-02-24 09:50:45 +01:00

14 lines
423 B
Python
Executable file

#!/usr/bin/env python
# -*- coding: utf-8 -*-
class PSYCPacket:
def __init__(self, mmpvars = {}, psycvars = {}, mc = None, text = ''):
self.mmpvars = mmpvars
self.psycvars = psycvars
self.vars = mmpvars.copy()
self.vars.update(psycvars)
self.mc = mc
self.text = text
def __repr__(self):
return 'vars: %s, mc: %s, text: %s' % (self.vars, self.mc, self.text)