Commit e592a6f3 authored by Alejandro De Maria Antolinos's avatar Alejandro De Maria Antolinos

Merge branch 'issue_26' into 'master'

It fixes #26

Closes #26

See merge request !13
parents f9d1ed46 9006f61c
......@@ -8,7 +8,7 @@
</parent>
<artifactId>MetadataManager</artifactId>
<version>3.3</version>
<version>3.4</version>
<packaging>pom</packaging>
<name>Tango MetadataManager</name>
......
......@@ -264,9 +264,9 @@ class MetadataManager (PyTango.Device_4Impl):
def write_scanName(self, attr):
scanName = attr.get_write_value()
if scanName in self.attr_scanNameList_read:
self.logger.error("scanName already used. scanName=%s metadatamanager=%s" % (scanName, self.get_name()))
PyTango.Except.throw_exception("scanName already used: %s" % scanName, "scanNames have to be unique for a proposal", "scanName")
#if scanName in self.attr_scanNameList_read:
# self.logger.error("scanName already used. scanName=%s metadatamanager=%s" % (scanName, self.get_name()))
# PyTango.Except.throw_exception("scanName already used: %s" % scanName, "scanNames have to be unique for a proposal", "scanName")
if self.is_dataFolder_allowed(PyTango.AttReqType.WRITE_REQ):
self.proxy.write_attribute("dataFolder", "")
self.attr_dataFolder_read=""
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment