Browse Source

Update TODO, clean up bulkdata error message

tags/nilmdb-0.1
Jim Paris 9 years ago
parent
commit
bd1b7107af
2 changed files with 6 additions and 2 deletions
  1. +5
    -1
      TODO
  2. +1
    -1
      nilmdb/bulkdata.py

+ 5
- 1
TODO View File

@@ -1 +1,5 @@
- Change BulkData filenames to a 2-layer structure (0000/0000)
-- Clean up error responses. Specifically I'd like to be able to add
json-formatted data to OverflowError and DB parsing errors. It
seems like subclassing cherrypy.HTTPError and overriding
set_response is the best thing to do -- it would let me get rid
of the _be_ie_unfriendly and other hacks in the server.

+ 1
- 1
nilmdb/bulkdata.py View File

@@ -71,7 +71,7 @@ class BulkData(object):
[ group, node ] = path.rsplit("/", 1)
if group == '':
raise ValueError("invalid path; path must contain at least one "
"folder (/foo/bar)")
"folder")

# Get layout, and build format string for struct module
try:


Loading…
Cancel
Save