n6egy/rpi — pull request #1 by Niarfe (2013-08-06 05:24:22+00:00)
Title: Fix, moved pass to end of function. Fix missing () in function call.  Formatting changes, removed tabs for spaces.

The reason the function was not being called was because of the missing () on line 13.

The except clause on the original files line 9 had the 'pass' on the same line, which would not have allowed the error message to be printed for the failed connectivity case.

Note, testing the function with a headless pi can't be done, since remote connection depends on same. Testing would have to be done with a monitor plugged in, or by another means of feedback.