Commits

ianb  committed 2036a1c

Fixed bug in port urlmap parsing

  • Participants
  • Parent commits 992eece

Comments (0)

Files changed (1)

File paste/urlmap.py

             parts.pop(0)
             if not parts:
                 raise ValueError("'port' must be followed with a port number")
-            if domain:
+            if port:
                 raise ValueError("'port' given twice")
             port = parts.pop(0)
         else: