prompt: You will be provided with a partial code base and an issue statement explaining a problem to resolve.
  <issue>
  Add option to remove coupon code from basket
  There isn't option to remove coupon code from basket. Should likely be done with basket command at basket view [this](https://github.com/shuup/shuup/blob/master/shuup/core/basket/commands.py#L177).
  
  </issue>
  <code>
  [start of shuup/front/basket/commands.py]
  1 # -*- coding: utf-8 -*-
  2 # This file is part of Shuup.
  3 #
  4 # Copyright (c) 2012-2018, Shuup Inc. All rights reserved.
  5 #
  6 # This source code is licensed under the OSL-3.0 license found in the
  7 # LICENSE file in the root directory of this source tree.
  8 from shuup.core.basket.commands import (  # noqa
  9     handle_add, handle_add_campaign_code, handle_add_var, handle_clear,
  10     handle_del, handle_update
  11 )
  12
  [end of shuup/front/basket/commands.py]
  </code>
  
  I need you to solve this issue by generating a single patch file that I can apply directly to this repository using git apply. Please respond with a single patch file in the following format.
  <patch>
  diff --git a/file.py b/file.py
  --- a/file.py
  +++ b/file.py
  @@ -1,27 +1,35 @@
   def euclidean(a, b):
  -    while b:
  -        a, b = b, a % b
  -    return a
  +    if b == 0:
  +        return a
  +    return euclidean(b, a % b)
   
   
   def bresenham(x0, y0, x1, y1):
       points = []
       dx = abs(x1 - x0)
       dy = abs(y1 - y0)
  -    sx = 1 if x0 < x1 else -1
  -    sy = 1 if y0 < y1 else -1
  -    err = dx - dy
  +    x, y = x0, y0
  +    sx = -1 if x0 > x1 else 1
  +    sy = -1 if y0 > y1 else 1
   
  -    while True:
  -        points.append((x0, y0))
  -        if x0 == x1 and y0 == y1:
  -            break
  -        e2 = 2 * err
  -        if e2 > -dy:
  -            err -= dy
  -            x0 += sx
  -        if e2 < dx:
  -            err += dx
  -            y0 += sy
  +    if dx > dy:
  +        err = dx / 2.0
  +        while x != x1:
  +            points.append((x, y))
  +            err -= dy
  +            if err < 0:
  +                y += sy
  +                err += dx
  +            x += sx
  +    else:
  +        err = dy / 2.0
  +        while y != y1:
  +            points.append((x, y))
  +            err -= dx
  +            if err < 0:
  +                x += sx
  +                err += dy
  +            y += sy
  +
  +    points.append((x, y))
       return points
  
  </patch>
golden_diff: diff --git a/shuup/front/basket/commands.py b/shuup/front/basket/commands.py
  --- a/shuup/front/basket/commands.py
  +++ b/shuup/front/basket/commands.py
  @@ -7,5 +7,5 @@
   # LICENSE file in the root directory of this source tree.
   from shuup.core.basket.commands import (  # noqa
       handle_add, handle_add_campaign_code, handle_add_var, handle_clear,
  -    handle_del, handle_update
  +    handle_del, handle_remove_campaign_code, handle_update
   )
  
verification_info: {"golden_diff": "diff --git a/shuup/front/basket/commands.py b/shuup/front/basket/commands.py\n--- a/shuup/front/basket/commands.py\n+++ b/shuup/front/basket/commands.py\n@@ -7,5 +7,5 @@\n # LICENSE file in the root directory of this source tree.\n from shuup.core.basket.commands import (  # noqa\n     handle_add, handle_add_campaign_code, handle_add_var, handle_clear,\n-    handle_del, handle_update\n+    handle_del, handle_remove_campaign_code, handle_update\n )\n", "issue": "Add option to remove coupon code from basket\nThere isn't option to remove coupon code from basket. Should likely be done with basket command at basket view [this](https://github.com/shuup/shuup/blob/master/shuup/core/basket/commands.py#L177).\n", "before_files": [{"content": "# -*- coding: utf-8 -*-\n# This file is part of Shuup.\n#\n# Copyright (c) 2012-2018, Shuup Inc. All rights reserved.\n#\n# This source code is licensed under the OSL-3.0 license found in the\n# LICENSE file in the root directory of this source tree.\nfrom shuup.core.basket.commands import (  # noqa\n    handle_add, handle_add_campaign_code, handle_add_var, handle_clear,\n    handle_del, handle_update\n)\n", "path": "shuup/front/basket/commands.py"}]}