Print

Print


Jacek,

> credFile = os.path.expanduser(TestDbLocal.CREDFILE)
> if not os.path.isfile(credFile):
>     log.warning("file '%s' not found.", credFile)
> else:
>     unittest.main()

	Is the problem really expanduser()?  I think the problem is that
only the existence (and type) of the file is tested, not whether it is
readable.

-- 
Kian-Tat Lim, LSST Data Management, [log in to unmask]

########################################################################
Use REPLY-ALL to reply to list

To unsubscribe from the QSERV-L list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=QSERV-L&A=1