Commit 5a4d29e8 authored by hardy's avatar hardy

adding check if milestone is empty

parent 3fee93c7
......@@ -92,6 +92,7 @@ class gDashboard:
date_time_obj = datetime.strptime(date_time_str, '%Y-%m-%dT%H:%M:%S.%fZ')
milestone1=milestone2=milestone3=milestone4=""
if self.d[x]['milestone']!=None:
if self.d[x]['milestone']['title']=="REVIEW_CAN_START":
milestone1="X"
elif self.d[x]['milestone']['title']=="REVIEW_IN_PROGRESS":
......@@ -102,6 +103,8 @@ class gDashboard:
milestone4="X"
else:
pass
else:
pass
#check if empty or not
if self.d[x]['assignee']!=None:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment