loper/DynaMo — Issue #22: błąd w sprawdzaniu zależności
Author: loper
Created: 2012-02-20 21:57:39+00:00
State: open
Labels: bug

[BardzoZly] dependency failure: '1'. Module disabled (in __sprawdz_zaleznosci at 147)
Traceback (most recent call last):
File "/home/loper/Projekty/DynaMo/DynaMo.py", line 28, in
MODULY = Moduly.Moduly(KONF)
File "/home/loper/Projekty/DynaMo/Moduly.py", line 37, in __init__
self.__sprawdz_zaleznosci(self.__zaladowane_obiekty)
File "/home/loper/Projekty/DynaMo/Moduly.py", line 144, in __sprawdz_zaleznosci
wadliwy_modul = str(obiekt).split('.')[1]
UnboundLocalError: local variable 'obiekt' referenced before assignment

dla kodu:

for i in range(1, 500):
self.zaleznosci.append(str(i))