diff --git a/inter/GetPassengerDTOs.py b/inter/GetPassengerDTOs.py index 0c7da1f..02f52ba 100644 --- a/inter/GetPassengerDTOs.py +++ b/inter/GetPassengerDTOs.py @@ -3,6 +3,11 @@ from config.TicketEnmu import ticket from myException.PassengerUserException import PassengerUserException import wrapcache +try: + xrange # Python 2 +except NameError: + xrange = range # Python 3 + class getPassengerDTOs: """