Entities: There is no spoon^H^H^H^H^Huda entity

- The code was trying to canonicalize 'attribute' and 'uda' separately,
  but there are no 'uda' entities.
This commit is contained in:
Paul Beckingham 2015-07-15 19:40:13 -04:00
parent 264dae02bc
commit b92802c2fb
2 changed files with 3 additions and 6 deletions

View file

@ -73,8 +73,7 @@ int CmdUnique::execute (std::string& output)
throw std::string (STRING_CMD_UNIQUE_MISSING);
std::string canonical;
if (! context.cli2.canonicalize (canonical, "attribute", attribute) &&
! context.cli2.canonicalize (canonical, "uda", attribute))
if (! context.cli2.canonicalize (canonical, "attribute", attribute))
throw std::string (STRING_CMD_UNIQUE_VALID);
// Find number of matching tasks.