Browse Source

Extract Msf::DBImportError

MSP-11124
Luke Imhoff 5 years ago
parent
commit
cffc74d571
No account linked to committer's email address
2 changed files with 3 additions and 3 deletions
  1. 1
    3
      lib/msf/core/db.rb
  2. 2
    0
      lib/msf/core/db_import_error.rb

+ 1
- 3
lib/msf/core/db.rb View File

@@ -57,15 +57,13 @@ require 'rex/parser/retina_xml'
57 57
 
58 58
 require 'metasploit/framework/require'
59 59
 require 'msf/core/database_event'
60
+require 'msf/core/db_import_error'
60 61
 require 'msf/core/db_manager/import_msf_xml'
61 62
 require 'msf/core/host_state'
62 63
 require 'msf/core/service_state'
63 64
 
64 65
 module Msf
65 66
 
66
-class DBImportError < RuntimeError
67
-end
68
-
69 67
 ###
70 68
 #
71 69
 # The DB module ActiveRecord definitions for the DBManager

+ 2
- 0
lib/msf/core/db_import_error.rb View File

@@ -0,0 +1,2 @@
1
+class Msf::DBImportError < RuntimeError
2
+end

Loading…
Cancel
Save