Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
vt_creation_time=_vt_creation_time,
vt_modification_time=_vt_modification_time,
vt_dependencies=_vt_dependencies,
summary=_summary,
impact=_impact,
affected=_affected,
insight=_insight,
solution=_solution,
solution_t=_solution_t,
solution_m=_solution_m,
detection=_vuldetect,
qod_t=_qod_t,
qod_v=_qod_v,
severities=_severity,
)
except OspdError as e:
logger.info("Error while adding vt. %s", e)
_feed_version = self.nvti.get_feed_version()
self.set_vts_version(vts_version=_feed_version)
self.pending_feed = False
logger.debug('Finish loading up vts.')
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see .
"""
Module for OSPD OpenVAS errors
"""
from ospd.errors import OspdError
class OspdOpenvasError(OspdError):
"""An exception for gvm errors