Commits

Waldemar Kornewald  committed 49bb2e1

fixed address and port parameters

  • Participants
  • Parent commits 09e656b

Comments (0)

Files changed (1)

File management/commands/runserver.py

             try:
                 addr, port = addrport.split(":")
             except ValueError:
-                addr, port = None, addrport
-            if not port.isdigit():
-                print "Error: '%s' is not a valid port number." % port
-                sys.exit(1)
+                addr = addrport
         else:
             args.append(argv[2])
         args.extend(argv[3:])