Roger Binns
2004-12-21 06:00:53 UTC
- data=com_brew.escape(data+com_brew.crcs(data))+self.pbterminator
+ data=common.pppescape(data+common.crcs(data))+common.pppterminator
I was just about to commit the other way of solving this, namely by adding+ data=common.pppescape(data+common.crcs(data))+common.pppterminator
these lines near the top of com_brew.py:
# other modules depend on using the same mechanism as brew for
# checksums and escaping - ensure they are also available from this
# module
escape=common.pppescape
unescape=common.pppunescape
crc=common.crc
crcs=common.crcs
That way the modules can still refer to com_brew.escape and all will work
well.
Roger