On Thu, 2013-07-25 at 12:26 -0700, Russell Johnson wrote:
> On Jul 25, 2013, at 11:55 AM, "John Meissen" <[email protected]> wrote:
> 
> > Un-printable characters (including cr/lf) in the data read from the file?
> 
> That was it. I looked at the file with vi after :set list, and it had a 
> newline. I added:
> 
> HOST_NAME = HOST_NAME[:-1] 
> 

You might want to look into Python's configparser for future use. 

-- 
               Technical Support Specialist, Free Geek
              Free Geek Tech Support: [email protected]
        (503) 232-9350 option 6 Tuesday-Saturday: 12-1,1:30-5:45PM

_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to