Update weather.py
Don't create new socket for every MPD query
Handle MPD connection errors
Better put fdict construction inside try
Clean unused code and fix clicks
test script removed
mem: allow standard float formatting syntax

Floats in mem.py can now be formatted with a standard format string
(e.g. {avail_mem:.2f}) instead of needing an extra `round` parameter.

This brings this module in line with the expected behavior in the rest
of i3pystatus.
Merge pull request #39 from siikamiika/master

Don't create new socket for every MPD query
Merge pull request #40 from jorio/mem-standard-formatting

mem: allow standard float formatting syntax
Configurable interval for every IntervalModule

settings attribute for every class inheriting from IntervalModule are
automatically extended by interval setting if it does not exist.

A function to flatten settings in SettingsBase was extracted and added
as a static method.
Merge pull request #42 from jedrz/configurable-interval

Configurable interval for every IntervalModule
Add tests for adding interval setting automatically
Merge pull request #43 from jedrz/configurable-interval-tests

Add tests for adding interval setting automatically
Merge pull request #35 from aaron-lebo/master

Update weather.py
clock: allow to specify a custom color and/or to use i3bar default color.
Merge pull request #44 from gwarf/allow_clock_color_customization

clock: allow to specify a custom color and/or to use i3bar default color
Optionally skip MAC address check in network

Network interfaces don't necessarily have a MAC address. For example,
the tunnel devices created by OpenVPN do not. Previously, passing a
network interface that did not have a MAC address caused the network
module to fail, since it assumed that there would be one.

This commit just adds a flag to the network module "mac", which defaults
to True. If True, the module behaves like before. If False, the check
for the MAC address is skipped and the {mac} format variable is replaced
with "NONE".

I tested this with my OpenVPN interface as well as my regular interface
and it works fine.
Better checking of the MAC address

Use a Try... Except... block instead of a function flag when checking
for the MAC address. This has the benefit of requiring no changes for
user, but fixes the problem with interfaces that do not have MACs.