File tree Expand file tree Collapse file tree 1 file changed +0
-10
lines changed
Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -962,16 +962,6 @@ def package_wizard():
962962 while license_class == '' :
963963 print ('\033 [1;31;40mError: you must choose or input a license of this package. Try again.\033 [0m' )
964964 license_class = raw_input ()
965-
966- # while license_class == '' or license_class.isdigit()== False or int(license_class) < 1 or int(license_class) >4:
967- # if license_class == '' :
968- # print ('\033[1;31;40mError: you must choose or input a license of this package. Try again.\033[0m')
969- # elif license_class.isdigit()== False :
970- # print ('\033[1;31;40mError:You must input a integer number from 1 to 4.\033[0m')
971- # else :
972- # print ('\033[1;31;40mError: input out of the bound. You must input a integer number from 1 to 4.\033[0m')
973- #
974- # license_class = raw_input()
975965
976966 if license_class .isdigit ()== True and int (license_class ) >= 1 and int (license_class ) <= 4 :
977967 license = license_index [int (license_class ) - 1 ]
You can’t perform that action at this time.
0 commit comments