From db4c792d031b31fa3c730acc7737c0f7643a3ee0 Mon Sep 17 00:00:00 2001 From: megazig Date: Mon, 29 Jun 2009 16:06:24 -0500 Subject: [PATCH] I found PI --- breff.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/breff.py b/breff.py index aad50aa..5df4bbe 100755 --- a/breff.py +++ b/breff.py @@ -29,7 +29,10 @@ class BREFF(object): self.length = Struct.uint32 self.chunk_cnt = Struct.uint32 def __str__(self): - return "Magic: %s\nLength: %08x\nChunk Count: %08x\n" % (self.magic , self.length , self.chunk_cnt) + return_string = "Magic: %s\n" % self.magic + return_string += "Length: %08x\n" % self.length + return_string += "Chunk Count: %08x\n" % self.chunk_cnt + return return_string class BREFF_Header(Struct): __endian__ = Struct.BE