Added a verify() routine to the PLCConfiguration object in order to enforce
authorStephen Soltesz <soltesz@cs.princeton.edu>
Wed, 23 Jul 2008 16:05:32 +0000 (16:05 +0000)
committerStephen Soltesz <soltesz@cs.princeton.edu>
Wed, 23 Jul 2008 16:05:32 +0000 (16:05 +0000)
commit22584cd5928950d82106f43965add51da366cb49
treeb86e02b3afbdc33e5f3e910ceb061e15a72a0d9b
parent3d5b576cb47133841a4880c6648210363a431851
Added a verify() routine to the PLCConfiguration object in order to enforce
that PLC_ROOT_USER and PLC_API_MAINTENANCE_USER are different.

By adding the verify() function, I think other checks can be added easily.  As
well, the try/except around saving the configuration can catch the different
cases.
plc-config-tty
plc_config.py