Project

General

Profile

Bug #9589

Fix obtaining compiler options for building models

Added by Evgeny Novikov 4 months ago.

Status:
New
Priority:
Urgent
Category:
Tasks generation
Target version:
Start date:
04/07/2019
Due date:
% Done:

0%

Estimated time:
Detected in build:
svn
Platform:
Published in build:

Description

At the moment there is such ugly exception when there is not an appropriate build command in a build base:

Raise exception:
Traceback (most recent call last):
  File "/home/novikov/work/klever/core/core/components.py", line 427, in run
    self.main()
  File "/home/novikov/work/klever/core/core/components.py", line 332, in callbacks_caller
    ret = attr(*args, **kwargs)
  File "/home/novikov/work/klever/core/core/vtg/rsg/__init__.py", line 52, in generate_requirement
    self.add_models(generated_models)
  File "/home/novikov/work/klever/core/core/components.py", line 332, in callbacks_caller
    ret = attr(*args, **kwargs)
  File "/home/novikov/work/klever/core/core/vtg/rsg/__init__.py", line 196, in add_models
    if not empty_cc:
UnboundLocalError: local variable 'empty_cc' referenced before assignment

Also available in: Atom PDF