Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Even then, I'd rather see:

DEBUG = socket.gethostname() == 'developmentcomp'

if DEBUG then...



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: