Return the group created in h5_create_group().
authorW. Trevor King <wking@drexel.edu>
Wed, 20 Apr 2011 20:09:56 +0000 (16:09 -0400)
committerW. Trevor King <wking@drexel.edu>
Wed, 20 Apr 2011 20:09:56 +0000 (16:09 -0400)
pypiezo/config.py

index 80e2b5a821b6b612375e6bd6bc91433a149e8950..1e182b4645ec600e0784fbd4a5bfc658b3a8d25b 100644 (file)
@@ -471,6 +471,7 @@ def h5_create_group(cwg, path):
                        % ('/'.join(gpath), cwg.file))
             cwg.create_group(group)
         cwg = cwg[group]
+    return cwg
 
 class _HDF5Config (_BackedConfig):
     """Mixin to back a `_Config` class with an HDF5 file.