Impl()
: enabled (indeterminate),
autorefresh(indeterminate),
+ gpgcheck(indeterminate),
type(repo::RepoType::NONE_e)
{}
str << "type=" << type().asString() << endl;
- if ( enabled() != indeterminate )
+ if ( ! indeterminate(enabled()) )
str << "enabled=" << (enabled() ? "1" : "0") << endl;
- if ( autorefresh() != indeterminate )
+ if ( ! indeterminate(autorefresh()) )
str << "autorefresh=" << (autorefresh() ? "1" : "0") << endl;
- if ( autorefresh() != indeterminate )
+ if ( ! indeterminate(gpgCheck()) )
str << "gpgcheck=" << (gpgCheck() ? "1" : "0") << endl;
if ( ! (gpgKeyUrl().asString().empty()) )
str << "gpgkey=" <<gpgKeyUrl() << endl;
-
+
return str;
}