Fixed typo and removed some unused variables.
Checking for flag before computing the sun position.
Replacing 'reset_nikon' with more general 'reset_camera'.
Ignoring *.pyc files.
User should be able to execute gphoto2 (removing the sudo).
Pulling out the path to the gphoto2 executable in a global variable.
Created basic 'shoot' data structure, with properties.

Can successfully load itself from an XML configuration file!
Commenting out the reset_camera() function.

Having issues w/ the USB control functions on the mac.
Using the new 'Shoot' classes and expecting an XML configuration file as input.
Added documentation on the valid XML configuration files.

Documentation includes several examples yielding different time-lapse effects.
Added function to generate the gphoto2 call

(with dummy filename for now).
Can now successfully be loaded from an XML file.
Replaced main loop with a much simpler one.

Sleeps the desired amount of time directly. Assumes the camera stays alive all this time.
Taking a shot with the camera now works!

Removed old 'workaround'. Should be worked in the Shoot.py class if it becomes necessary.
Replaced 'reset_settings()' by 'initialize()'.

Hard-coding some initialization steps to make sure the camera is setup properly.
Not sleeping if it's the last shot.
Added example XML configuration file.
Using the output folder specified in the XML file to store the files.
Major cleanup. Now checking for errors when calling gphoto2 and throwing exceptions when found.

Removed several old features. Should be easy to work them back in later I guess.
Using the more powerful 'logging' module for reporting messages.