mirror of
git://git.psyced.org/git/pypsyc
synced 2024-08-15 03:20:04 +00:00
last state we had in cvs
This commit is contained in:
commit
0f02e9cd76
128 changed files with 9224 additions and 0 deletions
14
mjacob/old/PSYC/PSYCPacket.py
Executable file
14
mjacob/old/PSYC/PSYCPacket.py
Executable file
|
@ -0,0 +1,14 @@
|
|||
#!/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)
|
Loading…
Add table
Add a link
Reference in a new issue