diff options
| author | jason | 2006-08-08 16:48:10 +0000 |
|---|---|---|
| committer | jason | 2006-08-08 16:48:10 +0000 |
| commit | e1c53bf863d9f7884f338e474be58487f8a4d668 (patch) | |
| tree | dd4b978d08a7591ae395145f074dc97e1ef5b790 /wmd/parser.py | |
| parent | 52db8e8ff348f8e9c51ed894015e36458c7c040c (diff) | |
| download | warmachine-e1c53bf863d9f7884f338e474be58487f8a4d668.tar.gz warmachine-e1c53bf863d9f7884f338e474be58487f8a4d668.zip | |
started an xml config parser that might be ignored
git-svn-id: svn://svn.zzq.org/warmachine/trunk@5 3ede8657-8418-0410-873f-eb3fb5a66eab
Diffstat (limited to 'wmd/parser.py')
| -rw-r--r-- | wmd/parser.py | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/wmd/parser.py b/wmd/parser.py index 52a0e9a..a413594 100644 --- a/wmd/parser.py +++ b/wmd/parser.py | |||
| @@ -8,10 +8,6 @@ class ircparse(object): | |||
| 8 | 8 | ||
| 9 | self._rawdata = data | 9 | self._rawdata = data |
| 10 | 10 | ||
| 11 | #print "x" * 80 | ||
| 12 | #print data | ||
| 13 | #print "xo" * 40 | ||
| 14 | |||
| 15 | if data != '': | 11 | if data != '': |
| 16 | self._process_data(data) | 12 | self._process_data(data) |
| 17 | 13 | ||
| @@ -39,3 +35,9 @@ class ircparse(object): | |||
| 39 | for param in data.split(' ')[2:]: | 35 | for param in data.split(' ')[2:]: |
| 40 | self.params += param + " " | 36 | self.params += param + " " |
| 41 | self.params.strip() | 37 | self.params.strip() |
| 38 | |||
| 39 | class configparse(object): | ||
| 40 | def __init__(self, filename): | ||
| 41 | self.filename = filename | ||
| 42 | |||
| 43 | |||