Remove must_close decorator from client

It still should be closed, but warning each time was mostly for
debugging and it's kind of annoying when writing one-off programs
where it's OK to just let things get torn down as they're completed.
Not closing is not fatal in terms of data integrity etc.
This commit is contained in:
Jim Paris 2013-02-18 17:55:23 -05:00
parent b53ff31212
commit e241c13bf1

View File

@ -13,7 +13,6 @@ def float_to_string(f):
"""Use repr to maintain full precision in the string output."""
return repr(float(f))
@nilmdb.utils.must_close()
class Client(object):
"""Main client interface to the Nilm database."""