mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
DOM: Partial DOM match is no longer an error
This commit is contained in:
parent
243067e2ae
commit
06dc1f6c42
1 changed files with 6 additions and 6 deletions
12
src/DOM.cpp
12
src/DOM.cpp
|
@ -136,8 +136,8 @@ bool getDOM (const std::string& name, Variant& value)
|
|||
: context.getHeight ()));
|
||||
return true;
|
||||
}
|
||||
else
|
||||
throw format (STRING_DOM_UNREC, name);
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
// context.*
|
||||
|
@ -177,8 +177,8 @@ bool getDOM (const std::string& name, Variant& value)
|
|||
: context.getHeight ()));
|
||||
return true;
|
||||
}
|
||||
else
|
||||
throw format (STRING_DOM_UNREC, name);
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
// system. --> Implement locally.
|
||||
|
@ -198,8 +198,8 @@ bool getDOM (const std::string& name, Variant& value)
|
|||
value = Variant (osName ());
|
||||
return true;
|
||||
}
|
||||
else
|
||||
throw format (STRING_DOM_UNREC, name);
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
// Empty string if nothing is found.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue