openmicroscopy/openmicroscopy — pull request #1532 by joshmoore (2013-09-20 09:31:12+00:00)
Title: Unwrap namespace

This began with a very small change to `script_utils.py`, namely fixing the following error:
```
*** start stderr (id=202)***
* Traceback (most recent call last):
* File "./script", line 80, in
* runAsScript();
* File "./script", line 75, in runAsScript
* initialise(session)
* File "./script", line 65, in initialise
* script_utils.registerNamespace(iQuery, iUpdate, NAMESPACE, keywords);
* File "/opt/ome2/dist/lib/python/omero/util/script_utils.py", line 1175, in registerNamespace
* workflow = iQuery.findByQuery("from Namespace as n where n.name = '" + namespace.val+"'", None);
* AttributeError: 'str' object has no attribute 'val'
*
*** end stderr ***
```
when running the `FLIM_initialise.py` script.

The other commits are all tidying the file afterwards.