mirror of
https://github.com/moparisthebest/xeps
synced 2024-11-21 16:55:07 -05:00
Fix broken logic in announce.py
This commit is contained in:
parent
7ca36495db
commit
c8aa105552
@ -102,13 +102,13 @@ else:
|
|||||||
|
|
||||||
# what kind of action are we taking?
|
# what kind of action are we taking?
|
||||||
xepflag = ""
|
xepflag = ""
|
||||||
if (version == "0.1"):
|
if (version == "0.1" or version == "0.1.0"):
|
||||||
xepflag = "new"
|
xepflag = "new"
|
||||||
elif ((version == "1.0") & (xeptype == "Standards Track")):
|
elif ((version == "1.0" or version == "1.0.0") and xeptype == "Standards Track"):
|
||||||
xepflag = "draft"
|
xepflag = "draft"
|
||||||
elif ((version == "1.0") & (xeptype != "Standards Track")):
|
elif ((version == "1.0" or version == "1.0.0") and xeptype != "Standards Track"):
|
||||||
xepflag = "active"
|
xepflag = "active"
|
||||||
elif (version == "2.0"):
|
elif (version == "2.0" or version == "2.0.0"):
|
||||||
xepflag = "final"
|
xepflag = "final"
|
||||||
elif (xepstatus == "Retracted"):
|
elif (xepstatus == "Retracted"):
|
||||||
xepflag = "retract"
|
xepflag = "retract"
|
||||||
|
Loading…
Reference in New Issue
Block a user