Skip to content

Commit

Permalink
18423 scripts upload to django-storages
Browse files Browse the repository at this point in the history
  • Loading branch information
arthanson committed Feb 18, 2025
1 parent 78ae2fd commit d832314
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions netbox/extras/scripts.py
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,6 @@ def filename(self):

@property
def source(self):
breakpoint()
return inspect.getsource(self.__class__)

@classmethod
Expand Down Expand Up @@ -556,7 +555,6 @@ def run_tests(self):
Run the report and save its results. Each test method will be executed in order.
"""
self.logger.info("Running report")

try:
for test_name in self.tests:
self._current_test = test_name
Expand Down Expand Up @@ -602,6 +600,5 @@ def is_variable(obj):

def get_module_and_script(module_name, script_name):
module = ScriptModule.objects.get(file_path=f'{module_name}.py')
breakpoint()
script = module.scripts.get(name=script_name)
return module, script

0 comments on commit d832314

Please sign in to comment.