From 859166a41c4c3da6112de55d685b835edf85868c Mon Sep 17 00:00:00 2001 From: Greg Taylor Date: Mon, 13 Apr 2009 01:38:32 +0000 Subject: [PATCH] I guess I could just go down my keyboard and hit all of the special characters instead of do this one-by-one BS :) --- src/imc2/packets.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/imc2/packets.py b/src/imc2/packets.py index 8f036be79..c62c3da4a 100644 --- a/src/imc2/packets.py +++ b/src/imc2/packets.py @@ -19,7 +19,7 @@ class Lexxer(shlex.shlex): self.quotes = '"' self.commenters = '' # This helps denote what constitutes a continuous token. - self.wordchars += "=-@*!:'/." + self.wordchars += "~`!@#$%^&*()-_+=[{]}|\\;:',<.>/?" class IMC2Packet(object): """ @@ -77,7 +77,6 @@ class IMC2Packet(object): self.destination = split_target_destination[1] elif counter > 4: # Populate optional data. - print "TOK", token key, value = token.split('=', 1) self.optional_data.append((key, value)) # Increment and continue to the next token (if applicable)