#!/usr/bin/env python
# -*- coding: utf-8 -*-


try:
    from urllib import quote_plus
except ImportError:
    from urllib.parse import quote_plus


def urlify(string):
    """ You might be wondering: why is this here at all, since it's basically
    doing exactly what the quote_plus function in urllib does. Well, to keep
    the 2 & 3 stuff all in one place, meaning rather than try to import the
    urllib stuff twice in each file where url-safe strings are needed, we keep
    it all in one file: here.

    Supporting multiple Pythons is hard.

    :param string: String to URLify
    :return: URLified string
    """
    return quote_plus(string)

@@ -74,21 +74,16 @@
 rt quote
-_plus
 %0Aexcept 
@@ -129,21 +129,16 @@
 rt quote
-_plus
 %0A%0A%0Adef u
@@ -624,21 +624,16 @@
 rn quote
-_plus
 (string)

Fix method to use quote, not quote_plus