Temp = GetToken(F)
if Temp == "\"":
Temp = GetToken(F)
- if capabilityMap[variable] not in capabilityList:
+ #print "DEBUG: %s" % variable
+ #print capabilityMap
+ #print eventList
+ #if variable == "app" or variable == "location":
+
+ if Temp == "app" or Temp == "location":
+ if Temp not in eventList:
+ eventList.append(Temp)
+ elif variable in capabilityMap.keys() and capabilityMap[variable] not in capabilityList:
# We do not repeat the same capability twice
capability = capabilityMap[variable]
capabilityList.append(capability)