Commits

Eike Hein  committed 1c99af7

Fix regression.

  • Participants
  • Parent commits 59f4b3c

Comments (0)

Files changed (1)

File bpython/repl.py

         else:
             parsed_url = urlparse(paste_url)
             if (not parsed_url.scheme
-                or any(unicodedata.category(char) == 'Cc' for c in paste_url)):
+                or any(unicodedata.category(c) == 'Cc' for c in paste_url)):
                 self.interact.notify("Upload failed: "
                                      "Failed to recognize the helper "
                                      "program's output as an URL.")