Skip to content
Snippets Groups Projects
Commit dee8aceb authored by Phil's avatar Phil
Browse files

Improved RawVal to work with volatile values.

parent a02b520d
No related branches found
No related tags found
No related merge requests found
...@@ -18,10 +18,12 @@ except ImportError: ...@@ -18,10 +18,12 @@ except ImportError:
class RawVal: class RawVal:
def __init__(self, val): def __init__(self, val=""):
self.val = val self.val = val
def __str__(self): def __str__(self):
return self.val return str(self.val)
def __repr__(self):
return "<RawVal [%r]>" % self.val
class Packet(BasePacket): class Packet(BasePacket):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment