Linux Dependencies! Grrr...What now?

Skip Montanaro skip at mojam.com
Wed Sep 22 12:44:20 EDT 1999


    >> (I've been warned that as the result of my upgrade, I have now
    >> "broken" netcfg, but I'll deal with that on another day.)

The fix is pretty trivial.  There are two functions in
/usr/lib/rhs/netcfg/netcfg.py that have broken defs.  I appended the changes
I made.  Haven't had a problem with netcfg since then.

Skip Montanaro | http://www.mojam.com/
skip at mojam.com | http://www.musi-cal.com/~skip/
847-971-7098   | Python: Programming the way Guido indented...


*** netcfg.py~  Mon Aug 17 12:31:42 1998
--- netcfg.py   Fri Jul 16 12:33:32 1999
***************
*** 138,142 ****
        return ''
  
! def LinespeedMenu(master=None, variable, width='20'):
        speedlist = []
        for speed in ['1200', '2400', '4800', '9600', '19200', '38400',
--- 138,142 ----
        return ''
  
! def LinespeedMenu(master=None, variable=None, width='20'):
        speedlist = []
        for speed in ['1200', '2400', '4800', '9600', '19200', '38400',
***************
*** 146,150 ****
        return LabelledMenu(master, 'Line speed:', variable, width, speedlist)
  
! def ModemportMenu(master=None, variable, width='20'):
        portlist = []
        try:
--- 146,150 ----
        return LabelledMenu(master, 'Line speed:', variable, width, speedlist)
  
! def ModemportMenu(master=None, variable=None, width='20'):
        portlist = []
        try:




More information about the Python-list mailing list