@return: The operator. One of:
'~', '=', '>', '<', '=*', '>=', or '<='
"""
- operator = getattr(mydep, "operator", None)
- if operator is not None:
+ operator = getattr(mydep, "operator", False)
+ if operator is not False:
return operator
if mydep:
mydep = remove_slot(mydep)
@rtype: String
@return: The slot
"""
- slot = getattr(mydep, "slot", None)
- if slot is not None:
+ slot = getattr(mydep, "slot", False)
+ if slot is not False:
return slot
colon = mydep.find(":")
if colon != -1: